home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / Goodies / CD ROM Simulator / Simulate CDROM 1.5 / Simulate CDROM 1.5.rsrc / CODE_2.txt < prev    next >
Text File  |  1992-10-15  |  311KB  |  5,663 lines

  1. # near model CODE resource
  2. # jump table entries: 80-107 (28 of them)
  3. fn00000000:
  4. 00000000  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  5. 00000004  6B22                     bmi        +0x24 /* 00000028 */
  6. 00000006  303C 0090                move.w     D0, 0x90
  7. 0000000A  A346                     syscall    GetOSTrapAddress, flags=3
  8. 0000000C  2248                     movea.l    A1, A0
  9. 0000000E  303C 009F                move.w     D0, 0x9F
  10. 00000012  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  11. 00000014  B3C8                     cmpa.l     A1, A0
  12. 00000016  6710                     beq        +0x12 /* 00000028 */
  13. 00000018  225F                     movea.l    A1, [A7]+
  14. 0000001A  205F                     movea.l    A0, [A7]+
  15. 0000001C  301F                     move.w     D0, [A7]+
  16. 0000001E  2F09                     move.l     -[A7], A1
  17. 00000020  A090                     syscall    SysEnvirons
  18. 00000022  3F40 0004                move.w     [A7 + 0x4], D0
  19. 00000026  4E75                     rts
  20. label00000028:
  21. 00000028  206F 0004                movea.l    A0, [A7 + 0x4]
  22. 0000002C  303C 0001                move.w     D0, 0x1
  23. 00000030  2248                     movea.l    A1, A0
  24. 00000032  6006                     bra        +0x8 /* 0000003A */
  25. 00000034  0313                     btst       [A3], D1
  26. 00000036  0B02                     btst       D2, D5
  27. 00000038  0100                     btst       D0, D0
  28. label0000003A:
  29. 0000003A  303C 0010                move.w     D0, 0x10
  30. 0000003E  E240                     asr        D0.w, 1
  31. 00000040  5340                     subq.w     D0, 1
  32. label00000042:
  33. 00000042  4258                     clr.w      [A0]+
  34. 00000044  51C8 FFFC                dbf        D0, -0x6 /* 00000042 */
  35. 00000048  32BC 0001                move.w     [A1], 0x1
  36. 0000004C  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  37. 00000050  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  38. 00000056  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  39. 0000005C  6742                     beq        +0x44 /* 000000A0 */
  40. 0000005E  4A28 0008                tst.b      [A0 + 0x8]
  41. 00000062  6E20                     bgt        +0x22 /* 00000084 */
  42. 00000064  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  43. 0000006A  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  44. 0000006E  6B30                     bmi        +0x32 /* 000000A0 */
  45. 00000070  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  46. 00000076  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  47. 0000007A  6A24                     bpl        +0x26 /* 000000A0 */
  48. 0000007C  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  49. 00000082  601C                     bra        +0x1E /* 000000A0 */
  50. label00000084:
  51. 00000084  4269 0002                clr.w      [A1 + 0x2]
  52. 00000088  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  53. 0000008E  6E10                     bgt        +0x12 /* 000000A0 */
  54. 00000090  6708                     beq        +0xA /* 0000009A */
  55. 00000092  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  56. 00000098  6006                     bra        +0x8 /* 000000A0 */
  57. label0000009A:
  58. 0000009A  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  59. label000000A0:
  60. 000000A0  4269 0004                clr.w      [A1 + 0x4]
  61. 000000A4  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  62. 000000AA  6E0A                     bgt        +0xC /* 000000B6 */
  63. 000000AC  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  64. 000000B0  5240                     addq.w     D0, 1
  65. 000000B2  1340 0007                move.b     [A1 + 0x7], D0
  66. label000000B6:
  67. 000000B6  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  68. 000000BA  6B0E                     bmi        +0x10 /* 000000CA */
  69. 000000BC  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  70. 000000C2  6706                     beq        +0x8 /* 000000CA */
  71. 000000C4  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  72. label000000CA:
  73. 000000CA  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  74. 000000D0  6206                     bhi        +0x8 /* 000000D8 */
  75. 000000D2  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  76. label000000D8:
  77. 000000D8  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  78. 000000DC  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 00000039, value 0x303C00 '0<\0', cstring "" */]
  79. 000000E0  323C 0004                move.w     D1, 0x4
  80. label000000E4:
  81. 000000E4  B020                     cmp.b      D0, -[A0]
  82. 000000E6  57C9 FFFC                dbeq       D1, -0x6 /* 000000E4 */
  83. 000000EA  5241                     addq.w     D1, 1
  84. 000000EC  3341 000A                move.w     [A1 + 0xA], D1
  85. 000000F0  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  86. 000000F4  6B18                     bmi        +0x1A /* 0000010E */
  87. 000000F6  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  88. 000000FA  0201 000F                andi.b     D1, 0xF
  89. 000000FE  0C01 0001                cmpi.b     D1, 0x1
  90. 00000102  660A                     bne        +0xC /* 0000010E */
  91. 00000104  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  92. 00000108  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  93. label0000010E:
  94. 0000010E  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  95. 00000114  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  96. 00000118  6D44                     blt        +0x46 /* 0000015E */
  97. 0000011A  4269 000E                clr.w      [A1 + 0xE]
  98. 0000011E  323C 003C                move.w     D1, 0x3C /* '<' */
  99. label00000122:
  100. 00000122  4267                     clr.w      -[A7]
  101. 00000124  51C9 FFFC                dbf        D1, -0x6 /* 00000122 */
  102. 00000128  204F                     movea.l    A0, A7
  103. 0000012A  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  104. 00000130  7008                     moveq.l    D0, 0x08
  105. 00000132  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  106. 00000134  6624                     bne        +0x26 /* 0000015A */
  107. 00000136  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  108. 0000013C  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  109. 0000013E  661A                     bne        +0x1C /* 0000015A */
  110. 00000140  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  111. 00000146  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  112. 0000014E  7001                     moveq.l    D0, 0x01
  113. 00000150  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  114. 00000152  6606                     bne        +0x8 /* 0000015A */
  115. 00000154  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  116. label0000015A:
  117. 0000015A  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  118. label0000015E:
  119. 0000015E  2049                     movea.l    A0, A1
  120. 00000160  225F                     movea.l    A1, [A7]+
  121. 00000162  5C4F                     addq.w     A7, 6
  122. 00000164  3EBC EA84                move.w     [A7], 0xEA84
  123. 00000168  4ED1                     jmp        [A1]
  124. export_25:
  125. fn0000016A:
  126. 0000016A  4E56 0000                link       A6, 0
  127. 0000016E  203C 0000 A89F           move.l     D0, 0xA89F
  128. 00000174  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  129. 00000176  2F08                     move.l     -[A7], A0
  130. 00000178  203C 0000 A0AD           move.l     D0, 0xA0AD
  131. 0000017E  A346                     syscall    GetOSTrapAddress, flags=3
  132. 00000180  B1DF                     cmpa.l     A0, [A7]+
  133. 00000182  670E                     beq        +0x10 /* 00000192 */
  134. 00000184  202E 000C                move.l     D0, [A6 + 0xC]
  135. 00000188  A1AD                     syscall    Gestalt, flags=1
  136. 0000018A  226E 0008                movea.l    A1, [A6 + 0x8]
  137. 0000018E  2288                     move.l     [A1], A0
  138. 00000190  6026                     bra        +0x28 /* 000001B8 */
  139. label00000192:
  140. 00000192  41FA 0036                lea.l      A0, [PC + 0x36 /* 000001CA, value 0x76657273 'vers', cstring "vers" */]
  141. 00000196  303C EA51                move.w     D0, 0xEA51
  142. 0000019A  222E 000C                move.l     D1, [A6 + 0xC]
  143. label0000019E:
  144. 0000019E  B298                     cmp.l      D1, [A0]+
  145. 000001A0  6706                     beq        +0x8 /* 000001A8 */
  146. 000001A2  4A98                     tst.l      [A0]+
  147. 000001A4  6712                     beq        +0x14 /* 000001B8 */
  148. 000001A6  60F6                     bra        -0x8 /* 0000019E */
  149. label000001A8:
  150. 000001A8  43FA 0020                lea.l      A1, [PC + 0x20 /* 000001CA, value 0x76657273 'vers', cstring "vers" */]
  151. 000001AC  D3D0                     add.l      A1, [A0]
  152. 000001AE  4ED1                     jmp        [A1]
  153. label000001B0:
  154. 000001B0  226E 0008                movea.l    A1, [A6 + 0x8]
  155. 000001B4  2280                     move.l     [A1], D0
  156. 000001B6  4240                     clr.w      D0
  157. label000001B8:
  158. 000001B8  3D40 0010                move.w     [A6 + 0x10], D0
  159. 000001BC  4E5E                     unlink     A6
  160. 000001BE  205F                     movea.l    A0, [A7]+
  161. 000001C0  508F                     addq.l     A7, 8
  162. 000001C2  4ED0                     jmp        [A0]
  163. label000001C4:
  164. 000001C4  303C EA52                move.w     D0, 0xEA52
  165. 000001C8  60EE                     bra        -0x10 /* 000001B8 */
  166. 000001CA  7665                     moveq.l    D3, 0x65
  167. 000001CC  7273                     moveq.l    D1, 0x73
  168. 000001CE  0000 0060                ori.b      D0, 0x60 /* '`' */
  169. 000001D2  6D61                     blt        +0x63 /* 00000235 */
  170. 000001D4  6368                     bls        +0x6A /* 0000023E */
  171. 000001D6  0000 0064                ori.b      D0, 0x64 /* 'd' */
  172. 000001DA  7379                     moveq.l    D1, 0x79
  173. 000001DC  7376                     moveq.l    D1, 0x76
  174. 000001DE  0000 0088                ori.b      D0, 0x88
  175. 000001E2  7072                     moveq.l    D0, 0x72
  176. 000001E4  6F63                     ble        +0x65 /* 00000249 */
  177. 000001E6  0000 0092                ori.b      D0, 0x92
  178. 000001EA  6670                     bne        +0x72 /* 0000025C */
  179. 000001EC  7520                     moveq.l    D2, 0x20
  180. 000001EE  0000 009E                ori.b      D0, 0x9E
  181. 000001F2  7164                     moveq.l    D0, 0x64
  182. 000001F4  2020                     move.l     D0, -[A0]
  183. 000001F6  0000 00E8                ori.b      D0, 0xE8
  184. 000001FA  6B62                     bmi        +0x64 /* 0000025E */
  185. 000001FC  6420                     bcc        +0x22 /* 0000021E */
  186. 000001FE  0000 011A                ori.b      D0, 0x1A
  187. 00000202  6174                     bsr        +0x76 /* 00000278 */
  188. 00000204  6C6B                     bge        +0x6D /* 00000271 */
  189. 00000206  0000 0142                ori.b      D0, 0x42 /* 'B' */
  190. 0000020A  6D6D                     blt        +0x6F /* 00000279 */
  191. 0000020C  7520                     moveq.l    D2, 0x20
  192. 0000020E  0000 0164                ori.b      D0, 0x64 /* 'd' */
  193. 00000212  7261                     moveq.l    D1, 0x61
  194. 00000214  6D20                     blt        +0x22 /* 00000236 */
  195. 00000216  0000 0188                ori.b      D0, 0x88
  196. 0000021A  6C72                     bge        +0x74 /* 0000028E */
  197. 0000021C  616D                     bsr        +0x6F /* 0000028B */
  198. label0000021E:
  199. 0000021E  0000 0188                ori.b      D0, 0x88
  200. 00000222  0000 0000                ori.b      D0, 0x0
  201. 00000226  0000 0000                ori.b      D0, 0x0
  202. 0000022A  7001                     moveq.l    D0, 0x01
  203. 0000022C  6082                     bra        -0x7C /* 000001B0 */
  204. 0000022E  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  205. 00000232  7004                     moveq.l    D0, 0x04
  206. 00000234  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  207. // begin alternate branch 00000236-00000244
  208. label00000236:
  209. 00000236  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  210. label0000023E:
  211. 0000023E  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  212. // end alternate branch 00000236-00000244
  213. label00000236: // (misaligned)
  214. 0000023A  6712                     beq        +0x14 /* 0000024E */
  215. 0000023C  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  216. label0000023E: // (misaligned)
  217. 00000242  6604                     bne        +0x6 /* 00000248 */
  218. 00000244  5240                     addq.w     D0, 1
  219. 00000246  6006                     bra        +0x8 /* 0000024E */
  220. label00000248:
  221. 00000248  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  222. 0000024C  5C80                     addq.l     D0, 6
  223. label0000024E:
  224. 0000024E  6000 FF60                bra        -0x9E /* 000001B0 */
  225. 00000252  7000                     moveq.l    D0, 0x00
  226. 00000254  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  227. 00000258  6000 FF56                bra        -0xA8 /* 000001B0 */
  228. label0000025C:
  229. 0000025C  7000                     moveq.l    D0, 0x00
  230. label0000025E:
  231. 0000025E  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  232. 00000262  5240                     addq.w     D0, 1
  233. 00000264  6000 FF4A                bra        -0xB4 /* 000001B0 */
  234. 00000268  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  235. 0000026E  6738                     beq        +0x3A /* 000002A8 */
  236. 00000270  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  237. 00000276  6734                     beq        +0x36 /* 000002AC */
  238. fn00000278:
  239. 00000278  204F                     movea.l    A0, A7
  240. 0000027A  F280 0000                fnop
  241. 0000027E  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  242. 00000280  3017                     move.w     D0, [A7]
  243. 00000282  2E48                     movea.l    A7, A0
  244. 00000284  0C40 1F18                cmpi.w     D0, 0x1F18
  245. 00000288  6716                     beq        +0x18 /* 000002A0 */
  246. 0000028A  0C40 3F18                cmpi.w     D0, 0x3F18
  247. label0000028E:
  248. 0000028E  6710                     beq        +0x12 /* 000002A0 */
  249. 00000290  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  250. 00000294  670E                     beq        +0x10 /* 000002A4 */
  251. 00000296  0C40 1F38                cmpi.w     D0, 0x1F38
  252. 0000029A  6708                     beq        +0xA /* 000002A4 */
  253. 0000029C  7000                     moveq.l    D0, 0x00
  254. 0000029E  600E                     bra        +0x10 /* 000002AE */
  255. label000002A0:
  256. 000002A0  7001                     moveq.l    D0, 0x01
  257. 000002A2  600A                     bra        +0xC /* 000002AE */
  258. label000002A4:
  259. 000002A4  7002                     moveq.l    D0, 0x02
  260. 000002A6  6006                     bra        +0x8 /* 000002AE */
  261. label000002A8:
  262. 000002A8  7003                     moveq.l    D0, 0x03
  263. 000002AA  6002                     bra        +0x4 /* 000002AE */
  264. label000002AC:
  265. 000002AC  7000                     moveq.l    D0, 0x00
  266. label000002AE:
  267. 000002AE  6000 FF00                bra        -0xFE /* 000001B0 */
  268. 000002B2  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  269. 000002B8  6E1C                     bgt        +0x1E /* 000002D6 */
  270. 000002BA  303C A89F                move.w     D0, 0xA89F
  271. 000002BE  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  272. 000002C0  2408                     move.l     D2, A0
  273. 000002C2  203C 0000 AB03           move.l     D0, 0xAB03
  274. 000002C8  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  275. 000002CA  203C 0000 0100           move.l     D0, 0x100
  276. 000002D0  B488                     cmp.l      D2, A0
  277. 000002D2  6606                     bne        +0x8 /* 000002DA */
  278. 000002D4  600A                     bra        +0xC /* 000002E0 */
  279. label000002D6:
  280. 000002D6  7000                     moveq.l    D0, 0x00
  281. 000002D8  6006                     bra        +0x8 /* 000002E0 */
  282. label000002DA:
  283. 000002DA  203C 0000 0200           move.l     D0, 0x200
  284. label000002E0:
  285. 000002E0  6000 FECE                bra        -0x130 /* 000001B0 */
  286. 000002E4  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  287. 000002E8  41FA 0016                lea.l      A0, [PC + 0x16 /* 00000300, value 0x3130B02 */]
  288. 000002EC  2248                     movea.l    A1, A0
  289. label000002EE:
  290. 000002EE  1218                     move.b     D1, [A0]+
  291. 000002F0  6700 FED2                beq        -0x12C /* 000001C4 */
  292. 000002F4  B200                     cmp.b      D1, D0
  293. 000002F6  66F6                     bne        -0x8 /* 000002EE */
  294. 000002F8  91C9                     sub.l      A0, A1
  295. 000002FA  2008                     move.l     D0, A0
  296. 000002FC  6000 FEB2                bra        -0x14C /* 000001B0 */
  297. 00000300  0313                     btst       [A3], D1
  298. 00000302  0B02                     btst       D2, D5
  299. 00000304  0106                     btst       D6, D0
  300. 00000306  0704                     btst       D4, D3
  301. 00000308  0508                     btst       A0, D2
  302. 0000030A  0900                     btst       D0, D4
  303. 0000030C  7000                     moveq.l    D0, 0x00
  304. 0000030E  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  305. 00000312  6B16                     bmi        +0x18 /* 0000032A */
  306. 00000314  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  307. 00000318  0201 000F                andi.b     D1, 0xF
  308. 0000031C  0C01 0001                cmpi.b     D1, 0x1
  309. 00000320  6608                     bne        +0xA /* 0000032A */
  310. 00000322  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  311. 00000326  1028 0007                move.b     D0, [A0 + 0x7]
  312. label0000032A:
  313. 0000032A  6000 FE84                bra        -0x17A /* 000001B0 */
  314. 0000032E  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  315. 00000334  6D16                     blt        +0x18 /* 0000034C */
  316. 00000336  7000                     moveq.l    D0, 0x00
  317. 00000338  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  318. 0000033C  0C00 0001                cmpi.b     D0, 0x1
  319. 00000340  670C                     beq        +0xE /* 0000034E */
  320. 00000342  0C00 0003                cmpi.b     D0, 0x3
  321. 00000346  6D04                     blt        +0x6 /* 0000034C */
  322. 00000348  5340                     subq.w     D0, 1
  323. 0000034A  6002                     bra        +0x4 /* 0000034E */
  324. label0000034C:
  325. 0000034C  7000                     moveq.l    D0, 0x00
  326. label0000034E:
  327. 0000034E  6000 FE60                bra        -0x19E /* 000001B0 */
  328. 00000352  303C A89F                move.w     D0, 0xA89F
  329. 00000356  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  330. 00000358  2408                     move.l     D2, A0
  331. 0000035A  203C 0000 A88F           move.l     D0, 0xA88F
  332. 00000360  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  333. 00000362  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  334. 00000366  B488                     cmp.l      D2, A0
  335. 00000368  670A                     beq        +0xC /* 00000374 */
  336. 0000036A  598F                     subq.l     A7, 4
  337. 0000036C  3F3C 0016                move.w     -[A7], 0x16
  338. 00000370  A88F                     syscall    OSDispatch
  339. 00000372  201F                     move.l     D0, [A7]+
  340. label00000374:
  341. 00000374  6000 FE3A                bra        -0x1C4 /* 000001B0 */
  342. export_26:
  343. 00000378  225F                     movea.l    A1, [A7]+
  344. 0000037A  205F                     movea.l    A0, [A7]+
  345. 0000037C  A025                     syscall    GetHandleSize
  346. 0000037E  2E80                     move.l     [A7], D0
  347. 00000380  6A02                     bpl        +0x4 /* 00000384 */
  348. 00000382  4297                     clr.l      [A7]
  349. label00000384:
  350. 00000384  4ED1                     jmp        [A1]
  351. fn00000386:
  352. 00000386  225F                     movea.l    A1, [A7]+
  353. 00000388  121F                     move.b     D1, [A7]+
  354. 0000038A  301F                     move.w     D0, [A7]+
  355. 0000038C  4A01                     tst.b      D1
  356. 0000038E  6704                     beq        +0x6 /* 00000394 */
  357. 00000390  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  358. 00000392  6002                     bra        +0x4 /* 00000396 */
  359. label00000394:
  360. 00000394  A346                     syscall    GetOSTrapAddress, flags=3
  361. label00000396:
  362. 00000396  2E88                     move.l     [A7], A0
  363. 00000398  4ED1                     jmp        [A1]
  364. export_27:
  365. 0000039A  205F                     movea.l    A0, [A7]+
  366. 0000039C  301F                     move.w     D0, [A7]+
  367. 0000039E  4297                     clr.l      [A7]
  368. 000003A0  4640                     not.w      D0
  369. 000003A2  B078 01D2                cmp.w      D0, [0x000001D2 /* UnitNtryCnt */]
  370. 000003A6  640A                     bcc        +0xC /* 000003B2 */
  371. 000003A8  E548                     lsl        D0.w, 2
  372. 000003AA  2278 011C                movea.l    A1, [0x0000011C /* UTableBase */]
  373. 000003AE  2EB1 0000                move.l     [A7], [A1 + D0.w]
  374. label000003B2:
  375. 000003B2  4ED0                     jmp        [A0]
  376. export_28:
  377. 000003B4  225F                     movea.l    A1, [A7]+
  378. 000003B6  101F                     move.b     D0, [A7]+
  379. 000003B8  205F                     movea.l    A0, [A7]+
  380. 000003BA  6604                     bne        +0x6 /* 000003C0 */
  381. 000003BC  A002                     syscall    Read
  382. 000003BE  6002                     bra        +0x4 /* 000003C2 */
  383. label000003C0:
  384. 000003C0  A402                     syscall    Read, flags=4
  385. label000003C2:
  386. 000003C2  3E80                     move.w     [A7], D0
  387. 000003C4  4ED1                     jmp        [A1]
  388. export_29:
  389. 000003C6  225F                     movea.l    A1, [A7]+
  390. 000003C8  101F                     move.b     D0, [A7]+
  391. 000003CA  205F                     movea.l    A0, [A7]+
  392. 000003CC  6604                     bne        +0x6 /* 000003D2 */
  393. 000003CE  A004                     syscall    Control
  394. 000003D0  6002                     bra        +0x4 /* 000003D4 */
  395. label000003D2:
  396. 000003D2  A404                     syscall    Control, flags=4
  397. label000003D4:
  398. 000003D4  3E80                     move.w     [A7], D0
  399. 000003D6  4ED1                     jmp        [A1]
  400. export_30:
  401. 000003D8  225F                     movea.l    A1, [A7]+
  402. 000003DA  101F                     move.b     D0, [A7]+
  403. 000003DC  205F                     movea.l    A0, [A7]+
  404. 000003DE  6604                     bne        +0x6 /* 000003E4 */
  405. 000003E0  A005                     syscall    Status
  406. 000003E2  6002                     bra        +0x4 /* 000003E6 */
  407. label000003E4:
  408. 000003E4  A405                     syscall    Status, flags=4
  409. label000003E6:
  410. 000003E6  3E80                     move.w     [A7], D0
  411. 000003E8  4ED1                     jmp        [A1]
  412. export_31:
  413. fn000003EA:
  414. 000003EA  4E56 FFCE                link       A6, -0x0032
  415. 000003EE  204F                     movea.l    A0, A7
  416. 000003F0  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  417. 000003F6  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  418. 000003FC  4228 001A                clr.b      [A0 + 0x1A]
  419. 00000400  4228 001B                clr.b      [A0 + 0x1B]
  420. 00000404  42A8 001C                clr.l      [A0 + 0x1C]
  421. 00000408  701A                     moveq.l    D0, 0x1A
  422. 0000040A  A060                     syscall    FSDispatch/HFSDispatch
  423. 0000040C  0C40 FFCE                cmpi.w     D0, 0xFFCE
  424. 00000410  6602                     bne        +0x4 /* 00000414 */
  425. 00000412  A000                     syscall    Open/PBHOpen/HOpen
  426. label00000414:
  427. 00000414  226E 0008                movea.l    A1, [A6 + 0x8]
  428. 00000418  32A8 0018                move.w     [A1], [A0 + 0x18]
  429. 0000041C  3D40 0012                move.w     [A6 + 0x12], D0
  430. 00000420  4E5E                     unlink     A6
  431. 00000422  205F                     movea.l    A0, [A7]+
  432. 00000424  4FEF 000A                lea.l      A7, [A7 + 0xA]
  433. 00000428  4ED0                     jmp        [A0]
  434. export_32:
  435. fn0000042A:
  436. 0000042A  4E56 FFCE                link       A6, -0x0032
  437. 0000042E  204F                     movea.l    A0, A7
  438. 00000430  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  439. 00000436  A001                     syscall    Close
  440. 00000438  3D40 000A                move.w     [A6 + 0xA], D0
  441. 0000043C  4E5E                     unlink     A6
  442. 0000043E  205F                     movea.l    A0, [A7]+
  443. 00000440  548F                     addq.l     A7, 2
  444. 00000442  4ED0                     jmp        [A0]
  445. fn00000444:
  446. 00000444  51C1                     sf         D1
  447. 00000446  6002                     bra        +0x4 /* 0000044A */
  448. fn00000448:
  449. 00000448  50C1                     st         D1
  450. label0000044A:
  451. 0000044A  4E56 FFCE                link       A6, -0x0032
  452. 0000044E  204F                     movea.l    A0, A7
  453. 00000450  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  454. 00000456  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  455. 0000045C  226E 000C                movea.l    A1, [A6 + 0xC]
  456. 00000460  2151 0024                move.l     [A0 + 0x24], [A1]
  457. 00000464  4268 002C                clr.w      [A0 + 0x2C]
  458. 00000468  42A8 002E                clr.l      [A0 + 0x2E]
  459. 0000046C  4A01                     tst.b      D1
  460. 0000046E  6604                     bne        +0x6 /* 00000474 */
  461. 00000470  A002                     syscall    Read
  462. 00000472  6002                     bra        +0x4 /* 00000476 */
  463. label00000474:
  464. 00000474  A003                     syscall    Write
  465. label00000476:
  466. 00000476  3D40 0012                move.w     [A6 + 0x12], D0
  467. 0000047A  226E 000C                movea.l    A1, [A6 + 0xC]
  468. 0000047E  22A8 0028                move.l     [A1], [A0 + 0x28]
  469. 00000482  4E5E                     unlink     A6
  470. 00000484  225F                     movea.l    A1, [A7]+
  471. 00000486  4FEF 000A                lea.l      A7, [A7 + 0xA]
  472. 0000048A  4ED1                     jmp        [A1]
  473. export_33:
  474. 0000048C  4E56 FFC0                link       A6, -0x0040
  475. 00000490  204F                     movea.l    A0, A7
  476. 00000492  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  477. 00000498  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  478. 0000049E  A015                     syscall    SetVol/PBHSetVol/HSetVol
  479. 000004A0  3D40 000E                move.w     [A6 + 0xE], D0
  480. 000004A4  4E5E                     unlink     A6
  481. 000004A6  225F                     movea.l    A1, [A7]+
  482. 000004A8  5C8F                     addq.l     A7, 6
  483. 000004AA  4ED1                     jmp        [A1]
  484. fn000004AC:
  485. 000004AC  4E56 FFB0                link       A6, -0x0050
  486. 000004B0  204F                     movea.l    A0, A7
  487. 000004B2  216E 0012 0012           move.l     [A0 + 0x12], [A6 + 0x12]
  488. 000004B8  316E 0010 0016           move.w     [A0 + 0x16], [A6 + 0x10]
  489. 000004BE  4228 001A                clr.b      [A0 + 0x1A]
  490. 000004C2  A008                     syscall    Create/PBHCreate/HCreate
  491. 000004C4  6616                     bne        +0x18 /* 000004DC */
  492. 000004C6  4268 001C                clr.w      [A0 + 0x1C]
  493. 000004CA  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  494. 000004CC  660E                     bne        +0x10 /* 000004DC */
  495. 000004CE  43E8 0020                lea.l      A1, [A0 + 0x20]
  496. 000004D2  22EE 0008                move.l     [A1]+, [A6 + 0x8]
  497. 000004D6  22AE 000C                move.l     [A1], [A6 + 0xC]
  498. 000004DA  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  499. label000004DC:
  500. 000004DC  3D40 0016                move.w     [A6 + 0x16], D0
  501. 000004E0  4E5E                     unlink     A6
  502. 000004E2  225F                     movea.l    A1, [A7]+
  503. 000004E4  4FEF 000E                lea.l      A7, [A7 + 0xE]
  504. 000004E8  4ED1                     jmp        [A1]
  505. export_34:
  506. fn000004EA:
  507. 000004EA  4E56 FFCE                link       A6, -0x0032
  508. 000004EE  204F                     movea.l    A0, A7
  509. 000004F0  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  510. 000004F6  A011                     syscall    GetEOF
  511. 000004F8  3D40 000E                move.w     [A6 + 0xE], D0
  512. 000004FC  226E 0008                movea.l    A1, [A6 + 0x8]
  513. 00000500  22A8 001C                move.l     [A1], [A0 + 0x1C]
  514. 00000504  4E5E                     unlink     A6
  515. 00000506  225F                     movea.l    A1, [A7]+
  516. 00000508  5C8F                     addq.l     A7, 6
  517. 0000050A  4ED1                     jmp        [A1]
  518. fn0000050C:
  519. 0000050C  4E56 FFCE                link       A6, -0x0032
  520. 00000510  204F                     movea.l    A0, A7
  521. 00000512  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  522. 00000518  216E 0008 001C           move.l     [A0 + 0x1C], [A6 + 0x8]
  523. 0000051E  A012                     syscall    SetEOF
  524. 00000520  3D40 000E                move.w     [A6 + 0xE], D0
  525. 00000524  4E5E                     unlink     A6
  526. 00000526  225F                     movea.l    A1, [A7]+
  527. 00000528  5C8F                     addq.l     A7, 6
  528. 0000052A  4ED1                     jmp        [A1]
  529. export_35:
  530. fn0000052C:
  531. 0000052C  4E56 FFCE                link       A6, -0x0032
  532. 00000530  204F                     movea.l    A0, A7
  533. 00000532  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  534. 00000538  316E 000C 002C           move.w     [A0 + 0x2C], [A6 + 0xC]
  535. 0000053E  216E 0008 002E           move.l     [A0 + 0x2E], [A6 + 0x8]
  536. 00000544  A044                     syscall    SetFPos
  537. 00000546  3D40 0010                move.w     [A6 + 0x10], D0
  538. 0000054A  4E5E                     unlink     A6
  539. 0000054C  225F                     movea.l    A1, [A7]+
  540. 0000054E  508F                     addq.l     A7, 8
  541. 00000550  4ED1                     jmp        [A1]
  542. export_36:
  543. 00000552  A162                     syscall    PurgeSpace, flags=1
  544. 00000554  226F 0004                movea.l    A1, [A7 + 0x4]
  545. 00000558  2288                     move.l     [A1], A0
  546. 0000055A  226F 0008                movea.l    A1, [A7 + 0x8]
  547. 0000055E  2280                     move.l     [A1], D0
  548. 00000560  225F                     movea.l    A1, [A7]+
  549. 00000562  504F                     addq.w     A7, 8
  550. 00000564  4ED1                     jmp        [A1]
  551. 00000566  7402                     moveq.l    D2, 0x02
  552. label00000568:
  553. 00000568  205F                     movea.l    A0, [A7]+
  554. 0000056A  3F02                     move.w     -[A7], D2
  555. 0000056C  2F08                     move.l     -[A7], A0
  556. 0000056E  ADE9                     syscall    Pack2, auto_pop
  557. fn00000570:
  558. 00000570  7400                     moveq.l    D2, 0x00
  559. 00000572  4EFA FFF4                jmp        [PC - 0xC /* 00000568 */]
  560. export_37:
  561. 00000576  206F 0004                movea.l    A0, [A7 + 0x4]
  562. 0000057A  202F 0008                move.l     D0, [A7 + 0x8]
  563. 0000057E  4267                     clr.w      -[A7]
  564. 00000580  A9EE                     syscall    Pack7/DecStr68K
  565. 00000582  205F                     movea.l    A0, [A7]+
  566. 00000584  504F                     addq.w     A7, 8
  567. 00000586  4ED0                     jmp        [A0]
  568. fn00000588:
  569. 00000588  6118                     bsr        +0x1A /* 000005A2 */
  570. 0000058A  A9DB                     syscall    TEPaste
  571. label0000058C:
  572. 0000058C  2E9F                     move.l     [A7], [A7]+
  573. 0000058E  4E75                     rts
  574. fn00000590:
  575. 00000590  6110                     bsr        +0x12 /* 000005A2 */
  576. 00000592  A9D6                     syscall    TECut
  577. 00000594  60F6                     bra        -0x8 /* 0000058C */
  578. fn00000596:
  579. 00000596  610A                     bsr        +0xC /* 000005A2 */
  580. 00000598  A9D5                     syscall    TECopy
  581. 0000059A  60F0                     bra        -0xE /* 0000058C */
  582. 0000059C  6104                     bsr        +0x6 /* 000005A2 */
  583. 0000059E  A9D7                     syscall    TEDelete
  584. 000005A0  60EA                     bra        -0x14 /* 0000058C */
  585. fn000005A2:
  586. 000005A2  206F 0008                movea.l    A0, [A7 + 0x8]
  587. 000005A6  4A68 00A4                tst.w      [A0 + 0xA4]
  588. 000005AA  6B08                     bmi        +0xA /* 000005B4 */
  589. 000005AC  225F                     movea.l    A1, [A7]+
  590. 000005AE  2F28 00A0                move.l     -[A7], [A0 + 0xA0]
  591. 000005B2  4ED1                     jmp        [A1]
  592. label000005B4:
  593. 000005B4  4CDF 0301                movem.l    D0,A0,A1, [A7]+
  594. 000005B8  4ED0                     jmp        [A0]
  595. fn000005BA:
  596. 000005BA  4E56 0000                link       A6, 0
  597. 000005BE  594F                     subq.w     A7, 4
  598. 000005C0  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  599. 000005C6  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  600. 000005CA  A9A0                     syscall    GetResource
  601. 000005CC  226E 000C                movea.l    A1, [A6 + 0xC]
  602. 000005D0  4211                     clr.b      [A1]
  603. 000005D2  201F                     move.l     D0, [A7]+
  604. 000005D4  6722                     beq        +0x24 /* 000005F8 */
  605. 000005D6  2040                     movea.l    A0, D0
  606. 000005D8  2050                     movea.l    A0, [A0]
  607. 000005DA  3018                     move.w     D0, [A0]+
  608. 000005DC  322E 0008                move.w     D1, [A6 + 0x8]
  609. 000005E0  6716                     beq        +0x18 /* 000005F8 */
  610. 000005E2  B240                     cmp.w      D1, D0
  611. 000005E4  6212                     bhi        +0x14 /* 000005F8 */
  612. 000005E6  7000                     moveq.l    D0, 0x00
  613. label000005E8:
  614. 000005E8  5341                     subq.w     D1, 1
  615. 000005EA  6706                     beq        +0x8 /* 000005F2 */
  616. 000005EC  1018                     move.b     D0, [A0]+
  617. 000005EE  D1C0                     add.l      A0, D0
  618. 000005F0  60F6                     bra        -0x8 /* 000005E8 */
  619. label000005F2:
  620. 000005F2  1010                     move.b     D0, [A0]
  621. 000005F4  5240                     addq.w     D0, 1
  622. 000005F6  A02E                     syscall    BlockMove/BlockMoveData
  623. label000005F8:
  624. 000005F8  4E5E                     unlink     A6
  625. 000005FA  205F                     movea.l    A0, [A7]+
  626. 000005FC  508F                     addq.l     A7, 8
  627. 000005FE  4ED0                     jmp        [A0]
  628. fn00000600:
  629. 00000600  4E56 FF7C                link       A6, -0x0084
  630. 00000604  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  631. 00000608  266E 0008                movea.l    A3, [A6 + 0x8]
  632. 0000060C  286E 000C                movea.l    A4, [A6 + 0xC]
  633. 00000610  3A2E 0016                move.w     D5, [A6 + 0x16]
  634. 00000614  2C2E 0012                move.l     D6, [A6 + 0x12]
  635. 00000618  4204                     clr.b      D4
  636. 0000061A  558F                     subq.l     A7, 2
  637. 0000061C  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  638. 00000622  486E FF7C                pea.l      [A6 - 0x84]
  639. 00000626  4EBA FB42                jsr        [PC - 0x4BE /* 0000016A */]
  640. 0000062A  3E1F                     move.w     D7, [A7]+
  641. 0000062C  660C                     bne        +0xE /* 0000063A */
  642. 0000062E  202E FF7C                move.l     D0, [A6 - 0x84]
  643. 00000632  0800 0000                btst.b     D0, 0x0
  644. 00000636  6702                     beq        +0x4 /* 0000063A */
  645. 00000638  7801                     moveq.l    D4, 0x01
  646. label0000063A:
  647. 0000063A  4A04                     tst.b      D4
  648. 0000063C  671A                     beq        +0x1C /* 00000658 */
  649. 0000063E  558F                     subq.l     A7, 2
  650. 00000640  3F05                     move.w     -[A7], D5
  651. 00000642  2F06                     move.l     -[A7], D6
  652. 00000644  1F2E 0010                move.b     -[A7], [A6 + 0x10]
  653. 00000648  2F0C                     move.l     -[A7], A4
  654. 0000064A  2F0B                     move.l     -[A7], A3
  655. 0000064C  7000                     moveq.l    D0, 0x00
  656. 0000064E  A823                     syscall    AliasDispatch
  657. 00000650  3D5F 0018                move.w     [A6 + 0x18], [A7]+
  658. 00000654  6000 00E4                bra        +0xE6 /* 0000073A */
  659. label00000658:
  660. 00000658  0C86 6D61 6373           cmpi.l     D6, 0x6D616373 /* 'macs' */
  661. 0000065E  6742                     beq        +0x44 /* 000006A2 */
  662. 00000660  0C86 7465 6D70           cmpi.l     D6, 0x74656D70 /* 'temp' */
  663. 00000666  673A                     beq        +0x3C /* 000006A2 */
  664. 00000668  0C86 7072 6566           cmpi.l     D6, 0x70726566 /* 'pref' */
  665. 0000066E  6732                     beq        +0x34 /* 000006A2 */
  666. 00000670  0C86 6578 746E           cmpi.l     D6, 0x6578746E /* 'extn' */
  667. 00000676  672A                     beq        +0x2C /* 000006A2 */
  668. 00000678  0C86 6374 726C           cmpi.l     D6, 0x6374726C /* 'ctrl' */
  669. 0000067E  6722                     beq        +0x24 /* 000006A2 */
  670. 00000680  0C86 616D 6E75           cmpi.l     D6, 0x616D6E75 /* 'amnu' */
  671. 00000686  671A                     beq        +0x1C /* 000006A2 */
  672. 00000688  0C86 7374 7274           cmpi.l     D6, 0x73747274 /* 'strt' */
  673. 0000068E  6712                     beq        +0x14 /* 000006A2 */
  674. 00000690  0C86 7072 6E74           cmpi.l     D6, 0x70726E74 /* 'prnt' */
  675. 00000696  670A                     beq        +0xC /* 000006A2 */
  676. 00000698  3D7C FFCE 0018           move.w     [A6 + 0x18], 0xFFCE
  677. 0000069E  6000 009A                bra        +0x9C /* 0000073A */
  678. label000006A2:
  679. 000006A2  7000                     moveq.l    D0, 0x00
  680. 000006A4  2D40 FF92                move.l     [A6 - 0x6E], D0
  681. 000006A8  0C45 8000                cmpi.w     D5, 0x8000
  682. 000006AC  6624                     bne        +0x26 /* 000006D2 */
  683. 000006AE  3D78 0A58 FF98           move.w     [A6 - 0x68], [0x00000A58 /* SysMap */]
  684. 000006B4  426E FF9C                clr.w      [A6 - 0x64]
  685. 000006B8  7002                     moveq.l    D0, 0x02
  686. 000006BA  2D40 FFBA                move.l     [A6 - 0x46], D0
  687. 000006BE  41EE FF80                lea.l      A0, [A6 - 0x80]
  688. 000006C2  7008                     moveq.l    D0, 0x08
  689. 000006C4  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  690. 000006C6  3E00                     move.w     D7, D0
  691. 000006C8  666C                     bne        +0x6E /* 00000736 */
  692. 000006CA  3D6E FFB4 FF96           move.w     [A6 - 0x6A], [A6 - 0x4C]
  693. 000006D0  6004                     bra        +0x6 /* 000006D6 */
  694. label000006D2:
  695. 000006D2  3D45 FF96                move.w     [A6 - 0x6A], D5
  696. label000006D6:
  697. 000006D6  7006                     moveq.l    D0, 0x06
  698. 000006D8  2D40 FFA4                move.l     [A6 - 0x5C], D0
  699. 000006DC  41EE FFFA                lea.l      A0, [A6 - 0x6]
  700. 000006E0  2D48 FFA0                move.l     [A6 - 0x60], A0
  701. 000006E4  41EE FF80                lea.l      A0, [A6 - 0x80]
  702. 000006E8  7030                     moveq.l    D0, 0x30
  703. 000006EA  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  704. 000006EC  3E00                     move.w     D7, D0
  705. 000006EE  0C47 FFCE                cmpi.w     D7, 0xFFCE
  706. 000006F2  6710                     beq        +0x12 /* 00000704 */
  707. 000006F4  4A47                     tst.w      D7
  708. 000006F6  6638                     bne        +0x3A /* 00000730 */
  709. 000006F8  203C 0002 0000           move.l     D0, 0x20000
  710. 000006FE  C0AE FFFC                and.l      D0, [A6 - 0x4]
  711. 00000702  672C                     beq        +0x2E /* 00000730 */
  712. label00000704:
  713. 00000704  426E FF9C                clr.w      [A6 - 0x64]
  714. 00000708  7000                     moveq.l    D0, 0x00
  715. 0000070A  2D40 FFDA                move.l     [A6 - 0x26], D0
  716. 0000070E  2D40 FFB0                move.l     [A6 - 0x50], D0
  717. 00000712  41EE FF80                lea.l      A0, [A6 - 0x80]
  718. 00000716  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  719. 00000718  3E00                     move.w     D7, D0
  720. 0000071A  661A                     bne        +0x1C /* 00000736 */
  721. 0000071C  4AAE FFDA                tst.l      [A6 - 0x26]
  722. 00000720  670A                     beq        +0xC /* 0000072C */
  723. 00000722  38AE FF96                move.w     [A4], [A6 - 0x6A]
  724. 00000726  26AE FFDA                move.l     [A3], [A6 - 0x26]
  725. 0000072A  600A                     bra        +0xC /* 00000736 */
  726. label0000072C:
  727. 0000072C  7ED5                     moveq.l    D7, 0xFFFFFFD5
  728. 0000072E  6006                     bra        +0x8 /* 00000736 */
  729. label00000730:
  730. 00000730  4A47                     tst.w      D7
  731. 00000732  6602                     bne        +0x4 /* 00000736 */
  732. 00000734  7ED5                     moveq.l    D7, 0xFFFFFFD5
  733. label00000736:
  734. 00000736  3D47 0018                move.w     [A6 + 0x18], D7
  735. label0000073A:
  736. 0000073A  4CEE 18F0 FF64           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x9C]
  737. 00000740  4E5E                     unlink     A6
  738. 00000742  205F                     movea.l    A0, [A7]+
  739. 00000744  4FEF 0010                lea.l      A7, [A7 + 0x10]
  740. 00000748  4ED0                     jmp        [A0]
  741. 0000074A  8A46                     or.w       D5, D6
  742. 0000074C  494E                     chk.w      D4, A6
  743. 0000074E  4446                     neg.w      D6
  744. 00000750  4F4C                     chk.w      D7, A4
  745. 00000752  4445                     neg.w      D5
  746. 00000754  5200                     addq.b     D0, 1
  747. 00000756  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  748. // begin alternate branch 00000758-0000075C
  749. fn00000758:
  750. 00000758  4E56 FFEC                link       A6, -0x0014
  751. // end alternate branch 00000758-0000075C
  752. fn00000758: // (misaligned)
  753. 0000075A  FFEC                     .invalid   <<F/7/7>>
  754. 0000075C  48E7 0300                movem.l    -[A7], D6,D7
  755. 00000760  426D E73A                clr.w      [A5 - 0x18C6]
  756. 00000764  426D E73C                clr.w      [A5 - 0x18C4]
  757. 00000768  426D E73E                clr.w      [A5 - 0x18C2]
  758. 0000076C  3B7C FFFF E740           move.w     [A5 - 0x18C0], 0xFFFF
  759. 00000772  3B7C FFFF E742           move.w     [A5 - 0x18BE], 0xFFFF
  760. 00000778  3B7C FFFF E744           move.w     [A5 - 0x18BC], 0xFFFF
  761. 0000077E  422D E730                clr.b      [A5 - 0x18D0]
  762. 00000782  422D E731                clr.b      [A5 - 0x18CF]
  763. 00000786  422D EA02                clr.b      [A5 - 0x15FE]
  764. 0000078A  422D EA03                clr.b      [A5 - 0x15FD]
  765. 0000078E  422D EA04                clr.b      [A5 - 0x15FC]
  766. 00000792  422D EA0B                clr.b      [A5 - 0x15F5]
  767. 00000796  422D EA08                clr.b      [A5 - 0x15F8]
  768. 0000079A  422D EA09                clr.b      [A5 - 0x15F7]
  769. 0000079E  422D EA0A                clr.b      [A5 - 0x15F6]
  770. 000007A2  1B7C 0001 E733           move.b     [A5 - 0x18CD], 0x1
  771. 000007A8  4267                     clr.w      -[A7]
  772. 000007AA  3F3C 0001                move.w     -[A7], 0x1
  773. 000007AE  486E FFF0                pea.l      [A6 - 0x10]
  774. 000007B2  4EBA F84C                jsr        [PC - 0x7B4 /* 00000000 */]
  775. 000007B6  3E1F                     move.w     D7, [A7]+
  776. 000007B8  4A6E FFF2                tst.w      [A6 - 0xE]
  777. 000007BC  6C06                     bge        +0x8 /* 000007C4 */
  778. 000007BE  7C00                     moveq.l    D6, 0x00
  779. 000007C0  6000 0108                bra        +0x10A /* 000008CA */
  780. label000007C4:
  781. 000007C4  2F3C A860 0001           move.l     -[A7], 0xA8600001
  782. 000007CA  4EBA 102A                jsr        [PC + 0x102A /* 000017F6 */]
  783. 000007CE  1C00                     move.b     D6, D0
  784. 000007D0  1B6E FFF9 E730           move.b     [A5 - 0x18D0], [A6 - 0x7]
  785. 000007D6  1B6E FFF8 E731           move.b     [A5 - 0x18CF], [A6 - 0x8]
  786. 000007DC  2EBC A1AD 0001           move.l     [A7], 0xA1AD0001
  787. 000007E2  4EBA 1012                jsr        [PC + 0x1012 /* 000017F6 */]
  788. 000007E6  1B40 EA0B                move.b     [A5 - 0x15F5], D0
  789. 000007EA  4A00                     tst.b      D0
  790. 000007EC  588F                     addq.l     A7, 4
  791. 000007EE  6700 00DA                beq        +0xDC /* 000008CA */
  792. 000007F2  4267                     clr.w      -[A7]
  793. 000007F4  2F3C 616C 6973           move.l     -[A7], 0x616C6973 /* 'alis' */
  794. 000007FA  486E FFEC                pea.l      [A6 - 0x14]
  795. 000007FE  4EBA F96A                jsr        [PC - 0x696 /* 0000016A */]
  796. 00000802  3E1F                     move.w     D7, [A7]+
  797. 00000804  4A47                     tst.w      D7
  798. 00000806  660E                     bne        +0x10 /* 00000816 */
  799. 00000808  082E 0000 FFEF           btst.b     [A6 - 0x11], 0x0
  800. 0000080E  6706                     beq        +0x8 /* 00000816 */
  801. 00000810  1B7C 0001 EA03           move.b     [A5 - 0x15FD], 0x1
  802. label00000816:
  803. 00000816  4267                     clr.w      -[A7]
  804. 00000818  2F3C 6564 746E           move.l     -[A7], 0x6564746E /* 'edtn' */
  805. 0000081E  486E FFEC                pea.l      [A6 - 0x14]
  806. 00000822  4EBA F946                jsr        [PC - 0x6BA /* 0000016A */]
  807. 00000826  3E1F                     move.w     D7, [A7]+
  808. 00000828  4A47                     tst.w      D7
  809. 0000082A  660E                     bne        +0x10 /* 0000083A */
  810. 0000082C  082E 0000 FFEF           btst.b     [A6 - 0x11], 0x0
  811. 00000832  6706                     beq        +0x8 /* 0000083A */
  812. 00000834  1B7C 0001 EA04           move.b     [A5 - 0x15FC], 0x1
  813. label0000083A:
  814. 0000083A  4267                     clr.w      -[A7]
  815. 0000083C  2F3C 6576 6E74           move.l     -[A7], 0x65766E74 /* 'evnt' */
  816. 00000842  486E FFEC                pea.l      [A6 - 0x14]
  817. 00000846  4EBA F922                jsr        [PC - 0x6DE /* 0000016A */]
  818. 0000084A  3E1F                     move.w     D7, [A7]+
  819. 0000084C  4A47                     tst.w      D7
  820. 0000084E  660E                     bne        +0x10 /* 0000085E */
  821. 00000850  082E 0000 FFEF           btst.b     [A6 - 0x11], 0x0
  822. 00000856  6706                     beq        +0x8 /* 0000085E */
  823. 00000858  1B7C 0001 EA02           move.b     [A5 - 0x15FE], 0x1
  824. label0000085E:
  825. 0000085E  4267                     clr.w      -[A7]
  826. 00000860  2F3C 7070 6320           move.l     -[A7], 0x70706320 /* 'ppc ' */
  827. 00000866  486E FFEC                pea.l      [A6 - 0x14]
  828. 0000086A  4EBA F8FE                jsr        [PC - 0x702 /* 0000016A */]
  829. 0000086E  3E1F                     move.w     D7, [A7]+
  830. 00000870  4A47                     tst.w      D7
  831. 00000872  660E                     bne        +0x10 /* 00000882 */
  832. 00000874  082E 0000 FFEF           btst.b     [A6 - 0x11], 0x0
  833. 0000087A  6706                     beq        +0x8 /* 00000882 */
  834. 0000087C  1B7C 0001 EA09           move.b     [A5 - 0x15F7], 0x1
  835. label00000882:
  836. 00000882  4267                     clr.w      -[A7]
  837. 00000884  2F3C 7164 2020           move.l     -[A7], 0x71642020 /* 'qd  ' */
  838. 0000088A  486E FFEC                pea.l      [A6 - 0x14]
  839. 0000088E  4EBA F8DA                jsr        [PC - 0x726 /* 0000016A */]
  840. 00000892  3E1F                     move.w     D7, [A7]+
  841. 00000894  4A47                     tst.w      D7
  842. 00000896  660E                     bne        +0x10 /* 000008A6 */
  843. 00000898  082E 0001 FFEE           btst.b     [A6 - 0x12], 0x1
  844. 0000089E  6706                     beq        +0x8 /* 000008A6 */
  845. 000008A0  1B7C 0001 EA0A           move.b     [A5 - 0x15F6], 0x1
  846. label000008A6:
  847. 000008A6  4267                     clr.w      -[A7]
  848. 000008A8  2F3C 7374 6466           move.l     -[A7], 0x73746466 /* 'stdf' */
  849. 000008AE  486E FFEC                pea.l      [A6 - 0x14]
  850. 000008B2  4EBA F8B6                jsr        [PC - 0x74A /* 0000016A */]
  851. 000008B6  3E1F                     move.w     D7, [A7]+
  852. 000008B8  4A47                     tst.w      D7
  853. 000008BA  660E                     bne        +0x10 /* 000008CA */
  854. 000008BC  082E 0000 FFEF           btst.b     [A6 - 0x11], 0x0
  855. 000008C2  6706                     beq        +0x8 /* 000008CA */
  856. 000008C4  1B7C 0001 EA08           move.b     [A5 - 0x15F8], 0x1
  857. label000008CA:
  858. 000008CA  1006                     move.b     D0, D6
  859. 000008CC  4CDF 00C0                movem.l    D6,D7, [A7]+
  860. 000008D0  4E5E                     unlink     A6
  861. 000008D2  4E75                     rts
  862. 000008D4  9249                     sub.w      D1, A1
  863. 000008D6  7357                     moveq.l    D1, 0x57
  864. 000008D8  4E45                     trap       5
  865. 000008DA  4973 496D                chk.w      D4, <<invalid full ext with IS == 1 and I/IS == 5>>
  866. 000008DE  706C                     moveq.l    D0, 0x6C
  867. 000008E0  656D                     bcs        +0x6F /* 0000094F */
  868. 000008E2  656E                     bcs        +0x70 /* 00000952 */
  869. 000008E4  7465                     moveq.l    D2, 0x65
  870. 000008E6  6400 0000                bcc        +0x2 /* 000008E8 */
  871. // begin alternate branch 000008E8-000008EE
  872. label000008E8:
  873. 000008E8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  874. fn000008EA: // (misaligned)
  875. 000008EC  FFEC                     .invalid   <<F/7/7>>
  876. // end alternate branch 000008E8-000008EE
  877. label000008E8: // (misaligned)
  878. fn000008EA:
  879. 000008EA  4E56 FFEC                link       A6, -0x0014
  880. 000008EE  486E FFEC                pea.l      [A6 - 0x14]
  881. 000008F2  4EBA 0F46                jsr        [PC + 0xF46 /* 0000183A */]
  882. 000008F6  4A6E FFEC                tst.w      [A6 - 0x14]
  883. 000008FA  588F                     addq.l     A7, 4
  884. 000008FC  6700 00AC                beq        +0xAE /* 000009AA */
  885. 00000900  302E FFEC                move.w     D0, [A6 - 0x14]
  886. 00000904  6700 009A                beq        +0x9C /* 000009A0 */
  887. 00000908  6B00 0096                bmi        +0x98 /* 000009A0 */
  888. 0000090C  5540                     subq.w     D0, 2
  889. 0000090E  6744                     beq        +0x46 /* 00000954 */
  890. 00000910  6A00 008E                bpl        +0x90 /* 000009A0 */
  891. 00000914  302E FFEE                move.w     D0, [A6 - 0x12]
  892. 00000918  0440 0100                subi.w     D0, 0x100
  893. 0000091C  0C40 0008                cmpi.w     D0, 0x8
  894. 00000920  6200 0088                bhi        +0x8A /* 000009AA */
  895. 00000924  43FA 009C                lea.l      A1, [PC + 0x9C /* 000009C2, value 0xFF6EFFE8 */]
  896. 00000928  D040                     add.w      D0, D0
  897. 0000092A  D2F1 0000                add.w      A1, [A1 + D0.w]
  898. 0000092E  4ED1                     jmp        [A1]
  899. 00000930  4EBA 16DC                jsr        [PC + 0x16DC /* 0000200E */]
  900. 00000934  6074                     bra        +0x76 /* 000009AA */
  901. 00000936  4EBA 1DE4                jsr        [PC + 0x1DE4 /* 0000271C */]
  902. 0000093A  606E                     bra        +0x70 /* 000009AA */
  903. 0000093C  4EBA 2368                jsr        [PC + 0x2368 /* 00002CA6 */]
  904. 00000940  6068                     bra        +0x6A /* 000009AA */
  905. 00000942  4EBA 08A4                jsr        [PC + 0x8A4 /* 000011E8 */]
  906. 00000946  6062                     bra        +0x64 /* 000009AA */
  907. 00000948  4EBA 265E                jsr        [PC + 0x265E /* 00002FA8 */]
  908. 0000094C  605C                     bra        +0x5E /* 000009AA */
  909. 0000094E  4EBA 2B00                jsr        [PC + 0x2B00 /* 00003450 */]
  910. label00000952:
  911. 00000952  6056                     bra        +0x58 /* 000009AA */
  912. label00000954:
  913. 00000954  302E FFEE                move.w     D0, [A6 - 0x12]
  914. 00000958  6B50                     bmi        +0x52 /* 000009AA */
  915. 0000095A  0440 0107                subi.w     D0, 0x107
  916. 0000095E  671C                     beq        +0x1E /* 0000097C */
  917. 00000960  6A08                     bpl        +0xA /* 0000096A */
  918. 00000962  5440                     addq.w     D0, 2
  919. 00000964  672E                     beq        +0x30 /* 00000994 */
  920. 00000966  6A08                     bpl        +0xA /* 00000970 */
  921. 00000968  6040                     bra        +0x42 /* 000009AA */
  922. label0000096A:
  923. 0000096A  5540                     subq.w     D0, 2
  924. 0000096C  6A3C                     bpl        +0x3E /* 000009AA */
  925. 0000096E  6018                     bra        +0x1A /* 00000988 */
  926. label00000970:
  927. 00000970  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  928. 00000974  4EBA 1B42                jsr        [PC + 0x1B42 /* 000024B8 */]
  929. 00000978  588F                     addq.l     A7, 4
  930. 0000097A  602E                     bra        +0x30 /* 000009AA */
  931. label0000097C:
  932. 0000097C  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  933. 00000980  4EBA 21E6                jsr        [PC + 0x21E6 /* 00002B68 */]
  934. 00000984  588F                     addq.l     A7, 4
  935. 00000986  6022                     bra        +0x24 /* 000009AA */
  936. label00000988:
  937. 00000988  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  938. 0000098C  4EBA 24E2                jsr        [PC + 0x24E2 /* 00002E70 */]
  939. 00000990  588F                     addq.l     A7, 4
  940. 00000992  6016                     bra        +0x18 /* 000009AA */
  941. label00000994:
  942. 00000994  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  943. 00000998  4EBA 2842                jsr        [PC + 0x2842 /* 000031DC */]
  944. 0000099C  588F                     addq.l     A7, 4
  945. 0000099E  600A                     bra        +0xC /* 000009AA */
  946. label000009A0:
  947. 000009A0  486E FFEC                pea.l      [A6 - 0x14]
  948. 000009A4  4EAD 026A                jsr        [A5 + 0x26A /* export_73 */]
  949. 000009A8  588F                     addq.l     A7, 4
  950. label000009AA:
  951. 000009AA  4E5E                     unlink     A6
  952. 000009AC  4E75                     rts
  953. 000009AE  9148                     subx.w     -[A0], -[A0]
  954. 000009B0  616E                     bsr        +0x70 /* 00000A20 */
  955. 000009B2  646C                     bcc        +0x6E /* 00000A20 */
  956. 000009B4  655F                     bcs        +0x61 /* 00000A15 */
  957. 000009B6  5573 6572 5F45 7665 6E74 subq.w     [[A3 + 0x5F457665] + 0x6E74], 2
  958. 000009C0  0012 FF6E                ori.b      [A2], 0x6E /* 'n' */
  959. 000009C4  FFE8                     .invalid   <<F/7/7>>
  960. 000009C6  FFE8                     .invalid   <<F/7/7>>
  961. 000009C8  FFE8                     .invalid   <<F/7/7>>
  962. 000009CA  FF80                     .invalid   <<F/6/7>>
  963. 000009CC  FF8C                     .invalid   <<F/6/7>>
  964. 000009CE  FF74                     .extension 0xF74 <<F/4-5/7>> // unimplemented
  965. 000009D0  FF7A                     .extension 0xF7A <<F/4-5/7>> // unimplemented
  966. 000009D2  FF86                     .invalid   <<F/6/7>>
  967. fn000009D4:
  968. 000009D4  48E7 1F00                movem.l    -[A7], D3,D4,D5,D6,D7
  969. 000009D8  486D E60E                pea.l      [A5 - 0x19F2]
  970. 000009DC  4EAD 021A                jsr        [A5 + 0x21A /* export_63 */]
  971. 000009E0  4A00                     tst.b      D0
  972. 000009E2  588F                     addq.l     A7, 4
  973. 000009E4  6700 009E                beq        +0xA0 /* 00000A84 */
  974. 000009E8  3E2D E612                move.w     D7, [A5 - 0x19EE]
  975. 000009EC  0247 00FF                andi.w     D7, 0xFF
  976. 000009F0  1C07                     move.b     D6, D7
  977. 000009F2  082D 0000 E61C           btst.b     [A5 - 0x19E4], 0x0
  978. 000009F8  6778                     beq        +0x7A /* 00000A72 */
  979. 000009FA  4EAD 0252                jsr        [A5 + 0x252 /* export_70 */]
  980. 000009FE  42A7                     clr.l      -[A7]
  981. 00000A00  1006                     move.b     D0, D6
  982. 00000A02  4880                     ext.w      D0
  983. 00000A04  3F00                     move.w     -[A7], D0
  984. 00000A06  A93E                     syscall    MenuKey
  985. 00000A08  2A1F                     move.l     D5, [A7]+
  986. 00000A0A  4267                     clr.w      -[A7]
  987. 00000A0C  2F05                     move.l     -[A7], D5
  988. 00000A0E  A86A                     syscall    HiWord
  989. 00000A10  381F                     move.w     D4, [A7]+
  990. 00000A12  4267                     clr.w      -[A7]
  991. 00000A14  2F05                     move.l     -[A7], D5
  992. 00000A16  A86B                     syscall    LoWord
  993. 00000A18  361F                     move.w     D3, [A7]+
  994. 00000A1A  4A44                     tst.w      D4
  995. 00000A1C  670A                     beq        +0xC /* 00000A28 */
  996. 00000A1E  3F03                     move.w     -[A7], D3
  997. fn00000A20:
  998. 00000A20  3F04                     move.w     -[A7], D4
  999. 00000A22  4EBA 1984                jsr        [PC + 0x1984 /* 000023A8 */]
  1000. 00000A26  588F                     addq.l     A7, 4
  1001. label00000A28:
  1002. 00000A28  0C06 0078                cmpi.b     D6, 0x78 /* 'x' */
  1003. 00000A2C  6706                     beq        +0x8 /* 00000A34 */
  1004. 00000A2E  0C06 0058                cmpi.b     D6, 0x58 /* 'X' */
  1005. 00000A32  660C                     bne        +0xE /* 00000A40 */
  1006. label00000A34:
  1007. 00000A34  4AAD E624                tst.l      [A5 - 0x19DC]
  1008. 00000A38  6706                     beq        +0x8 /* 00000A40 */
  1009. 00000A3A  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  1010. 00000A3E  A9D6                     syscall    TECut
  1011. label00000A40:
  1012. 00000A40  0C06 0063                cmpi.b     D6, 0x63 /* 'c' */
  1013. 00000A44  6706                     beq        +0x8 /* 00000A4C */
  1014. 00000A46  0C06 0043                cmpi.b     D6, 0x43 /* 'C' */
  1015. 00000A4A  660C                     bne        +0xE /* 00000A58 */
  1016. label00000A4C:
  1017. 00000A4C  4AAD E624                tst.l      [A5 - 0x19DC]
  1018. 00000A50  6706                     beq        +0x8 /* 00000A58 */
  1019. 00000A52  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  1020. 00000A56  A9D5                     syscall    TECopy
  1021. label00000A58:
  1022. 00000A58  0C06 0076                cmpi.b     D6, 0x76 /* 'v' */
  1023. 00000A5C  6706                     beq        +0x8 /* 00000A64 */
  1024. 00000A5E  0C06 0056                cmpi.b     D6, 0x56 /* 'V' */
  1025. 00000A62  6620                     bne        +0x22 /* 00000A84 */
  1026. label00000A64:
  1027. 00000A64  4AAD E624                tst.l      [A5 - 0x19DC]
  1028. 00000A68  671A                     beq        +0x1C /* 00000A84 */
  1029. 00000A6A  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  1030. 00000A6E  A9DB                     syscall    TEPaste
  1031. 00000A70  6012                     bra        +0x14 /* 00000A84 */
  1032. label00000A72:
  1033. 00000A72  4AAD E624                tst.l      [A5 - 0x19DC]
  1034. 00000A76  670C                     beq        +0xE /* 00000A84 */
  1035. 00000A78  1006                     move.b     D0, D6
  1036. 00000A7A  4880                     ext.w      D0
  1037. 00000A7C  3F00                     move.w     -[A7], D0
  1038. 00000A7E  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  1039. 00000A82  A9DC                     syscall    TEKey
  1040. label00000A84:
  1041. 00000A84  4CDF 00F8                movem.l    D3,D4,D5,D6,D7, [A7]+
  1042. 00000A88  4E75                     rts
  1043. fn00000A8A:
  1044. 00000A8A  4E56 FFFE                link       A6, -0x0002
  1045. 00000A8E  486D E60E                pea.l      [A5 - 0x19F2]
  1046. 00000A92  4EAD 0222                jsr        [A5 + 0x222 /* export_64 */]
  1047. 00000A96  4A00                     tst.b      D0
  1048. 00000A98  588F                     addq.l     A7, 4
  1049. 00000A9A  674C                     beq        +0x4E /* 00000AE8 */
  1050. 00000A9C  4267                     clr.w      -[A7]
  1051. 00000A9E  2F2D E610                move.l     -[A7], [A5 - 0x19F0]
  1052. 00000AA2  A86A                     syscall    HiWord
  1053. 00000AA4  4A5F                     tst.w      [A7]+
  1054. 00000AA6  6740                     beq        +0x42 /* 00000AE8 */
  1055. 00000AA8  302D E576                move.w     D0, [A5 - 0x1A8A]
  1056. 00000AAC  906D E572                sub.w      D0, [A5 - 0x1A8E]
  1057. 00000AB0  48C0                     ext.l      D0
  1058. 00000AB2  81FC 0002                divs.w     D0, 0x2
  1059. 00000AB6  0640 FF68                addi.w     D0, 0xFF68
  1060. 00000ABA  3B40 E61A                move.w     [A5 - 0x19E6], D0
  1061. 00000ABE  302D E574                move.w     D0, [A5 - 0x1A8C]
  1062. 00000AC2  906D E570                sub.w      D0, [A5 - 0x1A90]
  1063. 00000AC6  48C0                     ext.l      D0
  1064. 00000AC8  81FC 0003                divs.w     D0, 0x3
  1065. 00000ACC  0640 FFCC                addi.w     D0, 0xFFCC
  1066. 00000AD0  3B40 E618                move.w     [A5 - 0x19E8], D0
  1067. 00000AD4  A850                     syscall    InitCursor
  1068. 00000AD6  4267                     clr.w      -[A7]
  1069. 00000AD8  2F2D E618                move.l     -[A7], [A5 - 0x19E8]
  1070. 00000ADC  2F2D E610                move.l     -[A7], [A5 - 0x19F0]
  1071. 00000AE0  4EBA FA8E                jsr        [PC - 0x572 /* 00000570 */]
  1072. 00000AE4  3D5F FFFE                move.w     [A6 - 0x2], [A7]+
  1073. label00000AE8:
  1074. 00000AE8  4E5E                     unlink     A6
  1075. 00000AEA  4E75                     rts
  1076. 00000AEC  8B44 6F44                pack       D5, D4, 0x6F44
  1077. 00000AF0  6973                     bvs        +0x75 /* 00000B65 */
  1078. 00000AF2  6B45                     bmi        +0x47 /* 00000B39 */
  1079. 00000AF4  7665                     moveq.l    D3, 0x65
  1080. 00000AF6  6E74                     bgt        +0x76 /* 00000B6C */
  1081. 00000AF8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1082. // begin alternate branch 00000AFA-00000AFE
  1083. fn00000AFA:
  1084. 00000AFA  4E56 FFE8                link       A6, -0x0018
  1085. // end alternate branch 00000AFA-00000AFE
  1086. fn00000AFA: // (misaligned)
  1087. 00000AFC  FFE8                     .invalid   <<F/7/7>>
  1088. 00000AFE  48E7 0108                movem.l    -[A7], D7,A4
  1089. 00000B02  286E 0008                movea.l    A4, [A6 + 0x8]
  1090. 00000B06  200C                     move.l     D0, A4
  1091. 00000B08  6700 010A                beq        +0x10C /* 00000C14 */
  1092. 00000B0C  2F0C                     move.l     -[A7], A4
  1093. 00000B0E  A873                     syscall    SetPort
  1094. 00000B10  2D6D E618 FFF4           move.l     [A6 - 0xC], [A5 - 0x19E8]
  1095. 00000B16  486E FFF4                pea.l      [A6 - 0xC]
  1096. 00000B1A  A871                     syscall    GlobalToLocal
  1097. 00000B1C  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  1098. 00000B22  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  1099. 00000B28  486E FFEC                pea.l      [A6 - 0x14]
  1100. 00000B2C  2F3C 0004 0004           move.l     -[A7], 0x40004
  1101. 00000B32  302D E576                move.w     D0, [A5 - 0x1A8A]
  1102. 00000B36  906D E572                sub.w      D0, [A5 - 0x1A8E]
  1103. 00000B3A  5940                     subq.w     D0, 4
  1104. 00000B3C  3F00                     move.w     -[A7], D0
  1105. 00000B3E  302D E574                move.w     D0, [A5 - 0x1A8C]
  1106. 00000B42  906D E570                sub.w      D0, [A5 - 0x1A90]
  1107. 00000B46  5940                     subq.w     D0, 4
  1108. 00000B48  3F00                     move.w     -[A7], D0
  1109. 00000B4A  A8A7                     syscall    SetRect
  1110. 00000B4C  42A7                     clr.l      -[A7]
  1111. 00000B4E  2F0C                     move.l     -[A7], A4
  1112. 00000B50  2F2D E618                move.l     -[A7], [A5 - 0x19E8]
  1113. 00000B54  486E FFEC                pea.l      [A6 - 0x14]
  1114. 00000B58  A92B                     syscall    GrowWindow
  1115. 00000B5A  2E1F                     move.l     D7, [A7]+
  1116. 00000B5C  2F0C                     move.l     -[A7], A4
  1117. 00000B5E  4267                     clr.w      -[A7]
  1118. 00000B60  2F07                     move.l     -[A7], D7
  1119. 00000B62  A86B                     syscall    LoWord
  1120. 00000B64  4267                     clr.w      -[A7]
  1121. 00000B66  2F07                     move.l     -[A7], D7
  1122. 00000B68  A86A                     syscall    HiWord
  1123. 00000B6A  1F3C 0001                move.b     -[A7], 0x1
  1124. // begin alternate branch 00000B6C-00000B70
  1125. label00000B6C:
  1126. 00000B6C  0001 A91D                ori.b      D1, 0x1D
  1127. // end alternate branch 00000B6C-00000B70
  1128. label00000B6C: // (misaligned)
  1129. 00000B6E  A91D                     syscall    SizeWindow
  1130. 00000B70  2F0C                     move.l     -[A7], A4
  1131. 00000B72  A873                     syscall    SetPort
  1132. 00000B74  302C 0016                move.w     D0, [A4 + 0x16]
  1133. 00000B78  906C 0012                sub.w      D0, [A4 + 0x12]
  1134. 00000B7C  3D40 FFF6                move.w     [A6 - 0xA], D0
  1135. 00000B80  302C 0014                move.w     D0, [A4 + 0x14]
  1136. 00000B84  906C 0010                sub.w      D0, [A4 + 0x10]
  1137. 00000B88  3D40 FFF4                move.w     [A6 - 0xC], D0
  1138. 00000B8C  486E FFEC                pea.l      [A6 - 0x14]
  1139. 00000B90  4267                     clr.w      -[A7]
  1140. 00000B92  70F1                     moveq.l    D0, 0xFFFFFFF1
  1141. 00000B94  D06E FFF4                add.w      D0, [A6 - 0xC]
  1142. 00000B98  3F00                     move.w     -[A7], D0
  1143. 00000B9A  700F                     moveq.l    D0, 0x0F
  1144. 00000B9C  D06E FFF6                add.w      D0, [A6 - 0xA]
  1145. 00000BA0  3F00                     move.w     -[A7], D0
  1146. 00000BA2  700F                     moveq.l    D0, 0x0F
  1147. 00000BA4  D06E FFF4                add.w      D0, [A6 - 0xC]
  1148. 00000BA8  3F00                     move.w     -[A7], D0
  1149. 00000BAA  A8A7                     syscall    SetRect
  1150. 00000BAC  486E FFEC                pea.l      [A6 - 0x14]
  1151. 00000BB0  A8A3                     syscall    EraseRect
  1152. 00000BB2  486E FFEC                pea.l      [A6 - 0x14]
  1153. 00000BB6  A928                     syscall    InvalRect
  1154. 00000BB8  486E FFEC                pea.l      [A6 - 0x14]
  1155. 00000BBC  70F1                     moveq.l    D0, 0xFFFFFFF1
  1156. 00000BBE  D06E FFF6                add.w      D0, [A6 - 0xA]
  1157. 00000BC2  3F00                     move.w     -[A7], D0
  1158. 00000BC4  4267                     clr.w      -[A7]
  1159. 00000BC6  700F                     moveq.l    D0, 0x0F
  1160. 00000BC8  D06E FFF6                add.w      D0, [A6 - 0xA]
  1161. 00000BCC  3F00                     move.w     -[A7], D0
  1162. 00000BCE  700F                     moveq.l    D0, 0x0F
  1163. 00000BD0  D06E FFF4                add.w      D0, [A6 - 0xC]
  1164. 00000BD4  3F00                     move.w     -[A7], D0
  1165. 00000BD6  A8A7                     syscall    SetRect
  1166. 00000BD8  486E FFEC                pea.l      [A6 - 0x14]
  1167. 00000BDC  A8A3                     syscall    EraseRect
  1168. 00000BDE  486E FFEC                pea.l      [A6 - 0x14]
  1169. 00000BE2  A928                     syscall    InvalRect
  1170. 00000BE4  486E FFEC                pea.l      [A6 - 0x14]
  1171. 00000BE8  70F1                     moveq.l    D0, 0xFFFFFFF1
  1172. 00000BEA  D06E FFF6                add.w      D0, [A6 - 0xA]
  1173. 00000BEE  3F00                     move.w     -[A7], D0
  1174. 00000BF0  4267                     clr.w      -[A7]
  1175. 00000BF2  700F                     moveq.l    D0, 0x0F
  1176. 00000BF4  D06E FFF6                add.w      D0, [A6 - 0xA]
  1177. 00000BF8  3F00                     move.w     -[A7], D0
  1178. 00000BFA  700F                     moveq.l    D0, 0x0F
  1179. 00000BFC  D06E FFF4                add.w      D0, [A6 - 0xC]
  1180. 00000C00  3F00                     move.w     -[A7], D0
  1181. 00000C02  A8A7                     syscall    SetRect
  1182. 00000C04  486E FFEC                pea.l      [A6 - 0x14]
  1183. 00000C08  A8A3                     syscall    EraseRect
  1184. 00000C0A  486E FFEC                pea.l      [A6 - 0x14]
  1185. 00000C0E  A928                     syscall    InvalRect
  1186. 00000C10  2F0C                     move.l     -[A7], A4
  1187. 00000C12  A904                     syscall    DrawGrowIcon
  1188. label00000C14:
  1189. 00000C14  4CDF 1080                movem.l    D7,A4, [A7]+
  1190. 00000C18  4E5E                     unlink     A6
  1191. 00000C1A  4E75                     rts
  1192. 00000C1C  8644                     or.w       D3, D4
  1193. 00000C1E  6F47                     ble        +0x49 /* 00000C67 */
  1194. 00000C20  726F                     moveq.l    D1, 0x6F
  1195. 00000C22  7700                     moveq.l    D3, 0x00
  1196. 00000C24  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1197. // begin alternate branch 00000C26-00000C2A
  1198. fn00000C26:
  1199. 00000C26  4E56 FFF0                link       A6, -0x0010
  1200. // end alternate branch 00000C26-00000C2A
  1201. fn00000C26: // (misaligned)
  1202. 00000C28  FFF0                     .invalid   <<F/7/7>>
  1203. 00000C2A  48E7 0108                movem.l    -[A7], D7,A4
  1204. 00000C2E  286E 0008                movea.l    A4, [A6 + 0x8]
  1205. 00000C32  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  1206. 00000C38  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  1207. 00000C3E  2D6D E570 FFF0           move.l     [A6 - 0x10], [A5 - 0x1A90]
  1208. 00000C44  2D6D E574 FFF4           move.l     [A6 - 0xC], [A5 - 0x1A8C]
  1209. 00000C4A  486E FFF0                pea.l      [A6 - 0x10]
  1210. 00000C4E  7004                     moveq.l    D0, 0x04
  1211. 00000C50  D06E FFF2                add.w      D0, [A6 - 0xE]
  1212. 00000C54  3F00                     move.w     -[A7], D0
  1213. 00000C56  7004                     moveq.l    D0, 0x04
  1214. 00000C58  D06E FFF0                add.w      D0, [A6 - 0x10]
  1215. 00000C5C  3F00                     move.w     -[A7], D0
  1216. 00000C5E  70FC                     moveq.l    D0, 0xFFFFFFFC
  1217. 00000C60  D06E FFF6                add.w      D0, [A6 - 0xA]
  1218. 00000C64  3F00                     move.w     -[A7], D0
  1219. 00000C66  70FC                     moveq.l    D0, 0xFFFFFFFC
  1220. 00000C68  D06E FFF4                add.w      D0, [A6 - 0xC]
  1221. 00000C6C  3F00                     move.w     -[A7], D0
  1222. 00000C6E  A8A7                     syscall    SetRect
  1223. 00000C70  2F0C                     move.l     -[A7], A4
  1224. 00000C72  2F2D E618                move.l     -[A7], [A5 - 0x19E8]
  1225. 00000C76  486E FFF0                pea.l      [A6 - 0x10]
  1226. 00000C7A  A925                     syscall    DragWindow
  1227. 00000C7C  42A7                     clr.l      -[A7]
  1228. 00000C7E  2F0C                     move.l     -[A7], A4
  1229. 00000C80  A917                     syscall    GetWRefCon
  1230. 00000C82  2E1F                     move.l     D7, [A7]+
  1231. 00000C84  2007                     move.l     D0, D7
  1232. 00000C86  6B50                     bmi        +0x52 /* 00000CD8 */
  1233. 00000C88  0480 0000 0107           subi.l     D0, 0x107
  1234. 00000C8E  671E                     beq        +0x20 /* 00000CAE */
  1235. 00000C90  6A08                     bpl        +0xA /* 00000C9A */
  1236. 00000C92  5480                     addq.l     D0, 2
  1237. 00000C94  6734                     beq        +0x36 /* 00000CCA */
  1238. 00000C96  6A08                     bpl        +0xA /* 00000CA0 */
  1239. 00000C98  603E                     bra        +0x40 /* 00000CD8 */
  1240. label00000C9A:
  1241. 00000C9A  5580                     subq.l     D0, 2
  1242. 00000C9C  6A3A                     bpl        +0x3C /* 00000CD8 */
  1243. 00000C9E  601C                     bra        +0x1E /* 00000CBC */
  1244. label00000CA0:
  1245. 00000CA0  2F0C                     move.l     -[A7], A4
  1246. 00000CA2  486E FFF8                pea.l      [A6 - 0x8]
  1247. 00000CA6  4EBA 18CC                jsr        [PC + 0x18CC /* 00002574 */]
  1248. 00000CAA  508F                     addq.l     A7, 8
  1249. 00000CAC  6036                     bra        +0x38 /* 00000CE4 */
  1250. label00000CAE:
  1251. 00000CAE  2F0C                     move.l     -[A7], A4
  1252. 00000CB0  486E FFF8                pea.l      [A6 - 0x8]
  1253. 00000CB4  4EBA 1F6A                jsr        [PC + 0x1F6A /* 00002C20 */]
  1254. 00000CB8  508F                     addq.l     A7, 8
  1255. 00000CBA  6028                     bra        +0x2A /* 00000CE4 */
  1256. label00000CBC:
  1257. 00000CBC  2F0C                     move.l     -[A7], A4
  1258. 00000CBE  486E FFF8                pea.l      [A6 - 0x8]
  1259. 00000CC2  4EBA 2260                jsr        [PC + 0x2260 /* 00002F24 */]
  1260. 00000CC6  508F                     addq.l     A7, 8
  1261. 00000CC8  601A                     bra        +0x1C /* 00000CE4 */
  1262. label00000CCA:
  1263. 00000CCA  2F0C                     move.l     -[A7], A4
  1264. 00000CCC  486E FFF8                pea.l      [A6 - 0x8]
  1265. 00000CD0  4EBA 25C6                jsr        [PC + 0x25C6 /* 00003298 */]
  1266. 00000CD4  508F                     addq.l     A7, 8
  1267. 00000CD6  600C                     bra        +0xE /* 00000CE4 */
  1268. label00000CD8:
  1269. 00000CD8  2F0C                     move.l     -[A7], A4
  1270. 00000CDA  486E FFF8                pea.l      [A6 - 0x8]
  1271. 00000CDE  4EAD 022A                jsr        [A5 + 0x22A /* export_65 */]
  1272. 00000CE2  508F                     addq.l     A7, 8
  1273. label00000CE4:
  1274. 00000CE4  4CDF 1080                movem.l    D7,A4, [A7]+
  1275. 00000CE8  4E5E                     unlink     A6
  1276. 00000CEA  4E75                     rts
  1277. 00000CEC  8644                     or.w       D3, D4
  1278. 00000CEE  6F44                     ble        +0x46 /* 00000D34 */
  1279. 00000CF0  7261                     moveq.l    D1, 0x61
  1280. 00000CF2  6700 0000                beq        +0x2 /* 00000CF4 */
  1281. // begin alternate branch 00000CF4-00000CFE
  1282. label00000CF4:
  1283. 00000CF4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1284. fn00000CF6: // (misaligned)
  1285. 00000CF8  0000 48E7                ori.b      D0, 0xE7
  1286. 00000CFC  0108                     btst       A0, D0
  1287. // end alternate branch 00000CF4-00000CFE
  1288. label00000CF4: // (misaligned)
  1289. fn00000CF6:
  1290. 00000CF6  4E56 0000                link       A6, 0
  1291. 00000CFA  48E7 0108                movem.l    -[A7], D7,A4
  1292. 00000CFE  286E 0008                movea.l    A4, [A6 + 0x8]
  1293. 00000D02  4227                     clr.b      -[A7]
  1294. 00000D04  2F0C                     move.l     -[A7], A4
  1295. 00000D06  2F2D E618                move.l     -[A7], [A5 - 0x19E8]
  1296. 00000D0A  A91E                     syscall    TrackGoAway
  1297. 00000D0C  4A1F                     tst.b      [A7]+
  1298. 00000D0E  6754                     beq        +0x56 /* 00000D64 */
  1299. 00000D10  42A7                     clr.l      -[A7]
  1300. 00000D12  2F0C                     move.l     -[A7], A4
  1301. 00000D14  A917                     syscall    GetWRefCon
  1302. 00000D16  2E1F                     move.l     D7, [A7]+
  1303. 00000D18  2007                     move.l     D0, D7
  1304. 00000D1A  6B40                     bmi        +0x42 /* 00000D5C */
  1305. 00000D1C  0480 0000 0107           subi.l     D0, 0x107
  1306. 00000D22  671A                     beq        +0x1C /* 00000D3E */
  1307. 00000D24  6A08                     bpl        +0xA /* 00000D2E */
  1308. 00000D26  5480                     addq.l     D0, 2
  1309. 00000D28  6728                     beq        +0x2A /* 00000D52 */
  1310. 00000D2A  6A08                     bpl        +0xA /* 00000D34 */
  1311. 00000D2C  602E                     bra        +0x30 /* 00000D5C */
  1312. label00000D2E:
  1313. 00000D2E  5580                     subq.l     D0, 2
  1314. 00000D30  6A2A                     bpl        +0x2C /* 00000D5C */
  1315. 00000D32  6014                     bra        +0x16 /* 00000D48 */
  1316. label00000D34:
  1317. 00000D34  2F0C                     move.l     -[A7], A4
  1318. 00000D36  4EBA 1780                jsr        [PC + 0x1780 /* 000024B8 */]
  1319. 00000D3A  588F                     addq.l     A7, 4
  1320. 00000D3C  6026                     bra        +0x28 /* 00000D64 */
  1321. label00000D3E:
  1322. 00000D3E  2F0C                     move.l     -[A7], A4
  1323. 00000D40  4EBA 1E26                jsr        [PC + 0x1E26 /* 00002B68 */]
  1324. 00000D44  588F                     addq.l     A7, 4
  1325. 00000D46  601C                     bra        +0x1E /* 00000D64 */
  1326. label00000D48:
  1327. 00000D48  2F0C                     move.l     -[A7], A4
  1328. 00000D4A  4EBA 2124                jsr        [PC + 0x2124 /* 00002E70 */]
  1329. 00000D4E  588F                     addq.l     A7, 4
  1330. 00000D50  6012                     bra        +0x14 /* 00000D64 */
  1331. label00000D52:
  1332. 00000D52  2F0C                     move.l     -[A7], A4
  1333. 00000D54  4EBA 2486                jsr        [PC + 0x2486 /* 000031DC */]
  1334. 00000D58  588F                     addq.l     A7, 4
  1335. 00000D5A  6008                     bra        +0xA /* 00000D64 */
  1336. label00000D5C:
  1337. 00000D5C  2F0C                     move.l     -[A7], A4
  1338. 00000D5E  4EAD 0232                jsr        [A5 + 0x232 /* export_66 */]
  1339. 00000D62  588F                     addq.l     A7, 4
  1340. label00000D64:
  1341. 00000D64  4CDF 1080                movem.l    D7,A4, [A7]+
  1342. 00000D68  4E5E                     unlink     A6
  1343. 00000D6A  4E75                     rts
  1344. 00000D6C  8844                     or.w       D4, D4
  1345. 00000D6E  6F47                     ble        +0x49 /* 00000DB7 */
  1346. 00000D70  6F41                     ble        +0x43 /* 00000DB3 */
  1347. 00000D72  7761                     moveq.l    D3, 0x61
  1348. 00000D74  7900                     moveq.l    D4, 0x00
  1349. 00000D76  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1350. // begin alternate branch 00000D78-00000D80
  1351. fn00000D78:
  1352. 00000D78  4E56 0000                link       A6, 0
  1353. 00000D7C  48E7 0118                movem.l    -[A7], D7,A3,A4
  1354. // end alternate branch 00000D78-00000D80
  1355. fn00000D78: // (misaligned)
  1356. 00000D7A  0000 48E7                ori.b      D0, 0xE7
  1357. 00000D7E  0118                     btst       [A0]+, D0
  1358. 00000D80  286E 0008                movea.l    A4, [A6 + 0x8]
  1359. 00000D84  266E 000C                movea.l    A3, [A6 + 0xC]
  1360. 00000D88  42A7                     clr.l      -[A7]
  1361. 00000D8A  A924                     syscall    FrontWindow
  1362. 00000D8C  B9DF                     cmpa.l     A4, [A7]+
  1363. 00000D8E  6706                     beq        +0x8 /* 00000D96 */
  1364. 00000D90  2F0C                     move.l     -[A7], A4
  1365. 00000D92  A91F                     syscall    SelectWindow
  1366. 00000D94  605A                     bra        +0x5C /* 00000DF0 */
  1367. label00000D96:
  1368. 00000D96  2F0C                     move.l     -[A7], A4
  1369. 00000D98  A873                     syscall    SetPort
  1370. 00000D9A  42A7                     clr.l      -[A7]
  1371. 00000D9C  2F0C                     move.l     -[A7], A4
  1372. 00000D9E  A917                     syscall    GetWRefCon
  1373. 00000DA0  2E1F                     move.l     D7, [A7]+
  1374. 00000DA2  2007                     move.l     D0, D7
  1375. 00000DA4  6B40                     bmi        +0x42 /* 00000DE6 */
  1376. 00000DA6  0480 0000 0107           subi.l     D0, 0x107
  1377. 00000DAC  671A                     beq        +0x1C /* 00000DC8 */
  1378. 00000DAE  6A08                     bpl        +0xA /* 00000DB8 */
  1379. 00000DB0  5480                     addq.l     D0, 2
  1380. 00000DB2  6728                     beq        +0x2A /* 00000DDC */
  1381. 00000DB4  6A08                     bpl        +0xA /* 00000DBE */
  1382. 00000DB6  602E                     bra        +0x30 /* 00000DE6 */
  1383. label00000DB8:
  1384. 00000DB8  5580                     subq.l     D0, 2
  1385. 00000DBA  6A2A                     bpl        +0x2C /* 00000DE6 */
  1386. 00000DBC  6014                     bra        +0x16 /* 00000DD2 */
  1387. label00000DBE:
  1388. 00000DBE  2F0B                     move.l     -[A7], A3
  1389. 00000DC0  4EBA 1C7C                jsr        [PC + 0x1C7C /* 00002A3E */]
  1390. 00000DC4  588F                     addq.l     A7, 4
  1391. 00000DC6  6028                     bra        +0x2A /* 00000DF0 */
  1392. label00000DC8:
  1393. 00000DC8  2F0B                     move.l     -[A7], A3
  1394. 00000DCA  4EBA 1FC2                jsr        [PC + 0x1FC2 /* 00002D8E */]
  1395. 00000DCE  588F                     addq.l     A7, 4
  1396. 00000DD0  601E                     bra        +0x20 /* 00000DF0 */
  1397. label00000DD2:
  1398. 00000DD2  2F0B                     move.l     -[A7], A3
  1399. 00000DD4  4EBA 22BA                jsr        [PC + 0x22BA /* 00003090 */]
  1400. 00000DD8  588F                     addq.l     A7, 4
  1401. 00000DDA  6014                     bra        +0x16 /* 00000DF0 */
  1402. label00000DDC:
  1403. 00000DDC  2F0B                     move.l     -[A7], A3
  1404. 00000DDE  4EBA 283E                jsr        [PC + 0x283E /* 0000361E */]
  1405. 00000DE2  588F                     addq.l     A7, 4
  1406. 00000DE4  600A                     bra        +0xC /* 00000DF0 */
  1407. label00000DE6:
  1408. 00000DE6  2F0C                     move.l     -[A7], A4
  1409. 00000DE8  2F0B                     move.l     -[A7], A3
  1410. 00000DEA  4EAD 023A                jsr        [A5 + 0x23A /* export_67 */]
  1411. 00000DEE  508F                     addq.l     A7, 8
  1412. label00000DF0:
  1413. 00000DF0  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  1414. 00000DF4  4E5E                     unlink     A6
  1415. 00000DF6  4E75                     rts
  1416. 00000DF8  8B44 6F49                pack       D5, D4, 0x6F49
  1417. 00000DFC  6E43                     bgt        +0x45 /* 00000E41 */
  1418. 00000DFE  6F6E                     ble        +0x70 /* 00000E6E */
  1419. 00000E00  7465                     moveq.l    D2, 0x65
  1420. 00000E02  6E74                     bgt        +0x76 /* 00000E78 */
  1421. 00000E04  0000 48E7                ori.b      D0, 0xE7
  1422. // begin alternate branch 00000E06-00000E0A
  1423. fn00000E06:
  1424. 00000E06  48E7 0108                movem.l    -[A7], D7,A4
  1425. // end alternate branch 00000E06-00000E0A
  1426. fn00000E06: // (misaligned)
  1427. 00000E08  0108                     btst       A0, D0
  1428. 00000E0A  286D E610                movea.l    A4, [A5 - 0x19F0]
  1429. 00000E0E  2F0C                     move.l     -[A7], A4
  1430. 00000E10  A922                     syscall    BeginUpdate
  1431. 00000E12  42A7                     clr.l      -[A7]
  1432. 00000E14  2F0C                     move.l     -[A7], A4
  1433. 00000E16  A917                     syscall    GetWRefCon
  1434. 00000E18  2E1F                     move.l     D7, [A7]+
  1435. 00000E1A  2007                     move.l     D0, D7
  1436. 00000E1C  6B40                     bmi        +0x42 /* 00000E5E */
  1437. 00000E1E  0480 0000 0107           subi.l     D0, 0x107
  1438. 00000E24  671A                     beq        +0x1C /* 00000E40 */
  1439. 00000E26  6A08                     bpl        +0xA /* 00000E30 */
  1440. 00000E28  5480                     addq.l     D0, 2
  1441. 00000E2A  6728                     beq        +0x2A /* 00000E54 */
  1442. 00000E2C  6A08                     bpl        +0xA /* 00000E36 */
  1443. 00000E2E  602E                     bra        +0x30 /* 00000E5E */
  1444. label00000E30:
  1445. 00000E30  5580                     subq.l     D0, 2
  1446. 00000E32  6A2A                     bpl        +0x2C /* 00000E5E */
  1447. 00000E34  6014                     bra        +0x16 /* 00000E4A */
  1448. label00000E36:
  1449. 00000E36  2F0C                     move.l     -[A7], A4
  1450. 00000E38  4EBA 177E                jsr        [PC + 0x177E /* 000025B8 */]
  1451. 00000E3C  588F                     addq.l     A7, 4
  1452. 00000E3E  6026                     bra        +0x28 /* 00000E66 */
  1453. label00000E40:
  1454. 00000E40  2F0C                     move.l     -[A7], A4
  1455. 00000E42  4EBA 1E1E                jsr        [PC + 0x1E1E /* 00002C62 */]
  1456. 00000E46  588F                     addq.l     A7, 4
  1457. 00000E48  601C                     bra        +0x1E /* 00000E66 */
  1458. label00000E4A:
  1459. 00000E4A  2F0C                     move.l     -[A7], A4
  1460. 00000E4C  4EBA 2116                jsr        [PC + 0x2116 /* 00002F64 */]
  1461. 00000E50  588F                     addq.l     A7, 4
  1462. 00000E52  6012                     bra        +0x14 /* 00000E66 */
  1463. label00000E54:
  1464. 00000E54  2F0C                     move.l     -[A7], A4
  1465. 00000E56  4EBA 2484                jsr        [PC + 0x2484 /* 000032DC */]
  1466. 00000E5A  588F                     addq.l     A7, 4
  1467. 00000E5C  6008                     bra        +0xA /* 00000E66 */
  1468. label00000E5E:
  1469. 00000E5E  2F0C                     move.l     -[A7], A4
  1470. 00000E60  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  1471. 00000E64  588F                     addq.l     A7, 4
  1472. label00000E66:
  1473. 00000E66  2F0C                     move.l     -[A7], A4
  1474. 00000E68  A923                     syscall    EndUpdate
  1475. 00000E6A  4CDF 1080                movem.l    D7,A4, [A7]+
  1476. label00000E6E:
  1477. 00000E6E  4E75                     rts
  1478. fn00000E70:
  1479. 00000E70  48E7 0308                movem.l    -[A7], D6,D7,A4
  1480. 00000E74  286D E610                movea.l    A4, [A5 - 0x19F0]
  1481. label00000E78:
  1482. 00000E78  082D 0000 E61D           btst.b     [A5 - 0x19E3], 0x0
  1483. 00000E7E  56C7                     sne        D7
  1484. 00000E80  4407                     neg.b      D7
  1485. 00000E82  42A7                     clr.l      -[A7]
  1486. 00000E84  2F0C                     move.l     -[A7], A4
  1487. 00000E86  A917                     syscall    GetWRefCon
  1488. 00000E88  2C1F                     move.l     D6, [A7]+
  1489. 00000E8A  2006                     move.l     D0, D6
  1490. 00000E8C  6B48                     bmi        +0x4A /* 00000ED6 */
  1491. 00000E8E  0480 0000 0107           subi.l     D0, 0x107
  1492. 00000E94  671C                     beq        +0x1E /* 00000EB2 */
  1493. 00000E96  6A08                     bpl        +0xA /* 00000EA0 */
  1494. 00000E98  5480                     addq.l     D0, 2
  1495. 00000E9A  672E                     beq        +0x30 /* 00000ECA */
  1496. 00000E9C  6A08                     bpl        +0xA /* 00000EA6 */
  1497. 00000E9E  6036                     bra        +0x38 /* 00000ED6 */
  1498. label00000EA0:
  1499. 00000EA0  5580                     subq.l     D0, 2
  1500. 00000EA2  6A32                     bpl        +0x34 /* 00000ED6 */
  1501. 00000EA4  6018                     bra        +0x1A /* 00000EBE */
  1502. label00000EA6:
  1503. 00000EA6  1F07                     move.b     -[A7], D7
  1504. 00000EA8  2F0C                     move.l     -[A7], A4
  1505. 00000EAA  4EBA 1A76                jsr        [PC + 0x1A76 /* 00002922 */]
  1506. 00000EAE  5C8F                     addq.l     A7, 6
  1507. 00000EB0  602E                     bra        +0x30 /* 00000EE0 */
  1508. label00000EB2:
  1509. 00000EB2  1F07                     move.b     -[A7], D7
  1510. 00000EB4  2F0C                     move.l     -[A7], A4
  1511. 00000EB6  4EBA 1E7A                jsr        [PC + 0x1E7A /* 00002D32 */]
  1512. 00000EBA  5C8F                     addq.l     A7, 6
  1513. 00000EBC  6022                     bra        +0x24 /* 00000EE0 */
  1514. label00000EBE:
  1515. 00000EBE  1F07                     move.b     -[A7], D7
  1516. 00000EC0  2F0C                     move.l     -[A7], A4
  1517. 00000EC2  4EBA 2170                jsr        [PC + 0x2170 /* 00003034 */]
  1518. 00000EC6  5C8F                     addq.l     A7, 6
  1519. 00000EC8  6016                     bra        +0x18 /* 00000EE0 */
  1520. label00000ECA:
  1521. 00000ECA  1F07                     move.b     -[A7], D7
  1522. 00000ECC  2F0C                     move.l     -[A7], A4
  1523. 00000ECE  4EBA 2692                jsr        [PC + 0x2692 /* 00003562 */]
  1524. 00000ED2  5C8F                     addq.l     A7, 6
  1525. 00000ED4  600A                     bra        +0xC /* 00000EE0 */
  1526. label00000ED6:
  1527. 00000ED6  1F07                     move.b     -[A7], D7
  1528. 00000ED8  2F0C                     move.l     -[A7], A4
  1529. 00000EDA  4EAD 024A                jsr        [A5 + 0x24A /* export_69 */]
  1530. 00000EDE  5C8F                     addq.l     A7, 6
  1531. label00000EE0:
  1532. 00000EE0  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  1533. 00000EE4  4E75                     rts
  1534. export_24:
  1535. 00000EE6  A036                     syscall    MoreMasters
  1536. 00000EE8  A063                     syscall    MaxApplZone
  1537. 00000EEA  486D E5E4                pea.l      [A5 - 0x1A1C]
  1538. 00000EEE  A86E                     syscall    InitGraf
  1539. 00000EF0  A8FE                     syscall    InitFonts
  1540. 00000EF2  A912                     syscall    InitWindows
  1541. 00000EF4  A930                     syscall    InitMenus
  1542. 00000EF6  A9CC                     syscall    TEInit
  1543. 00000EF8  42A7                     clr.l      -[A7]
  1544. 00000EFA  A97B                     syscall    InitDialogs
  1545. 00000EFC  2F3C 0000 FFFF           move.l     -[A7], 0xFFFF
  1546. 00000F02  201F                     move.l     D0, [A7]+
  1547. 00000F04  A032                     syscall    FlushEvents
  1548. 00000F06  A850                     syscall    InitCursor
  1549. 00000F08  422D E622                clr.b      [A5 - 0x19DE]
  1550. 00000F0C  4EBA 1228                jsr        [PC + 0x1228 /* 00002136 */]
  1551. 00000F10  42AD E624                clr.l      [A5 - 0x19DC]
  1552. 00000F14  3B7C 0028 E620           move.w     [A5 - 0x19E0], 0x28 /* '(' */
  1553. 00000F1A  4EBA F83C                jsr        [PC - 0x7C4 /* 00000758 */]
  1554. 00000F1E  1B40 E61E                move.b     [A5 - 0x19E2], D0
  1555. 00000F22  42AD E60A                clr.l      [A5 - 0x19F6]
  1556. 00000F26  42A7                     clr.l      -[A7]
  1557. 00000F28  A8D8                     syscall    NewRgn
  1558. 00000F2A  2B5F E9FE                move.l     [A5 - 0x1602], [A7]+
  1559. 00000F2E  42AD EA0C                clr.l      [A5 - 0x15F4]
  1560. 00000F32  422D EA10                clr.b      [A5 - 0x15F0]
  1561. 00000F36  4EAD 01EA                jsr        [A5 + 0x1EA /* export_57 */]
  1562. 00000F3A  4EBA 0ED0                jsr        [PC + 0xED0 /* 00001E0C */]
  1563. 00000F3E  4EBA 1548                jsr        [PC + 0x1548 /* 00002488 */]
  1564. 00000F42  4EBA 1BF4                jsr        [PC + 0x1BF4 /* 00002B38 */]
  1565. 00000F46  4EBA 029A                jsr        [PC + 0x29A /* 000011E2 */]
  1566. 00000F4A  4EBA 1EF4                jsr        [PC + 0x1EF4 /* 00002E40 */]
  1567. 00000F4E  4EBA 225C                jsr        [PC + 0x225C /* 000031AC */]
  1568. 00000F52  4EAD 0292                jsr        [A5 + 0x292 /* export_78 */]
  1569. 00000F56  4EBA 035E                jsr        [PC + 0x35E /* 000012B6 */]
  1570. label00000F5A:
  1571. 00000F5A  4EAD 025A                jsr        [A5 + 0x25A /* export_71 */]
  1572. 00000F5E  4EBA F98A                jsr        [PC - 0x676 /* 000008EA */]
  1573. 00000F62  4AAD E624                tst.l      [A5 - 0x19DC]
  1574. 00000F66  6706                     beq        +0x8 /* 00000F6E */
  1575. 00000F68  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  1576. 00000F6C  A9DA                     syscall    TEIdle
  1577. label00000F6E:
  1578. 00000F6E  4A2D E61E                tst.b      [A5 - 0x19E2]
  1579. 00000F72  671C                     beq        +0x1E /* 00000F90 */
  1580. 00000F74  4227                     clr.b      -[A7]
  1581. 00000F76  3F3C FFFF                move.w     -[A7], 0xFFFF
  1582. 00000F7A  486D E60E                pea.l      [A5 - 0x19F2]
  1583. 00000F7E  306D E620                movea.w    A0, [A5 - 0x19E0]
  1584. 00000F82  2F08                     move.l     -[A7], A0
  1585. 00000F84  2F2D E9FE                move.l     -[A7], [A5 - 0x1602]
  1586. 00000F88  A860                     syscall    WaitNextEvent
  1587. 00000F8A  1B5F E5E8                move.b     [A5 - 0x1A18], [A7]+
  1588. 00000F8E  6012                     bra        +0x14 /* 00000FA2 */
  1589. label00000F90:
  1590. 00000F90  A9B4                     syscall    SystemTask
  1591. 00000F92  4227                     clr.b      -[A7]
  1592. 00000F94  3F3C FFFF                move.w     -[A7], 0xFFFF
  1593. 00000F98  486D E60E                pea.l      [A5 - 0x19F2]
  1594. 00000F9C  A970                     syscall    GetNextEvent
  1595. 00000F9E  1B5F E5E8                move.b     [A5 - 0x1A18], [A7]+
  1596. label00000FA2:
  1597. 00000FA2  486D E60E                pea.l      [A5 - 0x19F2]
  1598. 00000FA6  486D E5E8                pea.l      [A5 - 0x1A18]
  1599. 00000FAA  4EAD 0262                jsr        [A5 + 0x262 /* export_72 */]
  1600. 00000FAE  4A2D E5E8                tst.b      [A5 - 0x1A18]
  1601. 00000FB2  508F                     addq.l     A7, 8
  1602. 00000FB4  6700 00DC                beq        +0xDE /* 00001092 */
  1603. 00000FB8  302D E60E                move.w     D0, [A5 - 0x19F2]
  1604. 00000FBC  0C40 000F                cmpi.w     D0, 0xF
  1605. 00000FC0  6200 00D0                bhi        +0xD2 /* 00001092 */
  1606. 00000FC4  43FA 010E                lea.l      A1, [PC + 0x10E /* 000010D4, value 0xFFBEFEFC */]
  1607. 00000FC8  D040                     add.w      D0, D0
  1608. 00000FCA  D2F1 0000                add.w      A1, [A1 + D0.w]
  1609. 00000FCE  4ED1                     jmp        [A1]
  1610. 00000FD0  4267                     clr.w      -[A7]
  1611. 00000FD2  2F2D E618                move.l     -[A7], [A5 - 0x19E8]
  1612. 00000FD6  486D E5EC                pea.l      [A5 - 0x1A14]
  1613. 00000FDA  A92C                     syscall    FindWindow
  1614. 00000FDC  3B5F E5EA                move.w     [A5 - 0x1A16], [A7]+
  1615. 00000FE0  302D E5EA                move.w     D0, [A5 - 0x1A16]
  1616. 00000FE4  0C40 0006                cmpi.w     D0, 0x6
  1617. 00000FE8  6200 00A8                bhi        +0xAA /* 00001092 */
  1618. 00000FEC  43FA 00D8                lea.l      A1, [PC + 0xD8 /* 000010C6, value 0xFFCCFF32 */]
  1619. 00000FF0  D040                     add.w      D0, D0
  1620. 00000FF2  D2F1 0000                add.w      A1, [A1 + D0.w]
  1621. 00000FF6  4ED1                     jmp        [A1]
  1622. 00000FF8  4EAD 0252                jsr        [A5 + 0x252 /* export_70 */]
  1623. 00000FFC  42A7                     clr.l      -[A7]
  1624. 00000FFE  2F2D E618                move.l     -[A7], [A5 - 0x19E8]
  1625. 00001002  A93D                     syscall    MenuSelect
  1626. 00001004  2B5F E5F0                move.l     [A5 - 0x1A10], [A7]+
  1627. 00001008  4267                     clr.w      -[A7]
  1628. 0000100A  2F2D E5F0                move.l     -[A7], [A5 - 0x1A10]
  1629. 0000100E  A86A                     syscall    HiWord
  1630. 00001010  3B5F E5F4                move.w     [A5 - 0x1A0C], [A7]+
  1631. 00001014  4267                     clr.w      -[A7]
  1632. 00001016  2F2D E5F0                move.l     -[A7], [A5 - 0x1A10]
  1633. 0000101A  A86B                     syscall    LoWord
  1634. 0000101C  3B5F E5F6                move.w     [A5 - 0x1A0A], [A7]+
  1635. 00001020  3F2D E5F6                move.w     -[A7], [A5 - 0x1A0A]
  1636. 00001024  3F2D E5F4                move.w     -[A7], [A5 - 0x1A0C]
  1637. 00001028  4EBA 137E                jsr        [PC + 0x137E /* 000023A8 */]
  1638. 0000102C  588F                     addq.l     A7, 4
  1639. 0000102E  6062                     bra        +0x64 /* 00001092 */
  1640. 00001030  2F2D E5EC                move.l     -[A7], [A5 - 0x1A14]
  1641. 00001034  4EBA FBF0                jsr        [PC - 0x410 /* 00000C26 */]
  1642. 00001038  588F                     addq.l     A7, 4
  1643. 0000103A  6056                     bra        +0x58 /* 00001092 */
  1644. 0000103C  2F2D E5EC                move.l     -[A7], [A5 - 0x1A14]
  1645. 00001040  4EBA FAB8                jsr        [PC - 0x548 /* 00000AFA */]
  1646. 00001044  588F                     addq.l     A7, 4
  1647. 00001046  604A                     bra        +0x4C /* 00001092 */
  1648. 00001048  2F2D E5EC                move.l     -[A7], [A5 - 0x1A14]
  1649. 0000104C  4EBA FCA8                jsr        [PC - 0x358 /* 00000CF6 */]
  1650. 00001050  588F                     addq.l     A7, 4
  1651. 00001052  603E                     bra        +0x40 /* 00001092 */
  1652. 00001054  486D E60E                pea.l      [A5 - 0x19F2]
  1653. 00001058  2F2D E5EC                move.l     -[A7], [A5 - 0x1A14]
  1654. 0000105C  4EBA FD1A                jsr        [PC - 0x2E6 /* 00000D78 */]
  1655. 00001060  508F                     addq.l     A7, 8
  1656. 00001062  602E                     bra        +0x30 /* 00001092 */
  1657. 00001064  486D E60E                pea.l      [A5 - 0x19F2]
  1658. 00001068  2F2D E5EC                move.l     -[A7], [A5 - 0x1A14]
  1659. 0000106C  A9B3                     syscall    SystemClick
  1660. 0000106E  6022                     bra        +0x24 /* 00001092 */
  1661. 00001070  4EBA F962                jsr        [PC - 0x69E /* 000009D4 */]
  1662. 00001074  601C                     bra        +0x1E /* 00001092 */
  1663. 00001076  4EBA FD8E                jsr        [PC - 0x272 /* 00000E06 */]
  1664. 0000107A  6016                     bra        +0x18 /* 00001092 */
  1665. 0000107C  4EBA FA0C                jsr        [PC - 0x5F4 /* 00000A8A */]
  1666. 00001080  6010                     bra        +0x12 /* 00001092 */
  1667. 00001082  4EBA FDEC                jsr        [PC - 0x214 /* 00000E70 */]
  1668. 00001086  600A                     bra        +0xC /* 00001092 */
  1669. 00001088  486D E60E                pea.l      [A5 - 0x19F2]
  1670. 0000108C  4EAD 0272                jsr        [A5 + 0x272 /* export_74 */]
  1671. 00001090  588F                     addq.l     A7, 4
  1672. label00001092:
  1673. 00001092  4A2D E622                tst.b      [A5 - 0x19DE]
  1674. 00001096  6700 FEC2                beq        -0x13C /* 00000F5A */
  1675. 0000109A  4878 FFFF                push.l     0xFFFF
  1676. 0000109E  4EBA 1418                jsr        [PC + 0x1418 /* 000024B8 */]
  1677. 000010A2  70FF                     moveq.l    D0, 0xFFFFFFFF
  1678. 000010A4  2E80                     move.l     [A7], D0
  1679. 000010A6  4EBA 1AC0                jsr        [PC + 0x1AC0 /* 00002B68 */]
  1680. 000010AA  70FF                     moveq.l    D0, 0xFFFFFFFF
  1681. 000010AC  2E80                     move.l     [A7], D0
  1682. 000010AE  4EBA 1DC0                jsr        [PC + 0x1DC0 /* 00002E70 */]
  1683. 000010B2  70FF                     moveq.l    D0, 0xFFFFFFFF
  1684. 000010B4  2E80                     move.l     [A7], D0
  1685. 000010B6  4EBA 2124                jsr        [PC + 0x2124 /* 000031DC */]
  1686. 000010BA  4EBA 03FA                jsr        [PC + 0x3FA /* 000014B6 */]
  1687. 000010BE  4EAD 029A                jsr        [A5 + 0x29A /* export_79 */]
  1688. 000010C2  588F                     addq.l     A7, 4
  1689. 000010C4  4E75                     rts
  1690. 000010C6  FFCC                     .invalid   <<F/7/7>>
  1691. 000010C8  FF32                     .extension 0xF32 <<F/4-5/7>> // unimplemented
  1692. 000010CA  FF9E                     .invalid   <<F/6/7>>
  1693. 000010CC  FF8E                     .invalid   <<F/6/7>>
  1694. 000010CE  FF6A                     .extension 0xF6A <<F/4-5/7>> // unimplemented
  1695. 000010D0  FF76                     .extension 0xF76 <<F/4-5/7>> // unimplemented
  1696. 000010D2  FF82                     .invalid   <<F/6/7>>
  1697. 000010D4  FFBE                     .invalid   <<F/6/7>>
  1698. 000010D6  FEFC FFBE                .extension 0xEFC <<F/2-3/7>> // unimplemented
  1699. 000010DA  FF9C                     .invalid   <<F/6/7>>
  1700. 000010DC  FFBE                     .invalid   <<F/6/7>>
  1701. 000010DE  FF9C                     .invalid   <<F/6/7>>
  1702. 000010E0  FFA2                     .invalid   <<F/6/7>>
  1703. 000010E2  FFA8                     .invalid   <<F/6/7>>
  1704. 000010E4  FFAE                     .invalid   <<F/6/7>>
  1705. 000010E6  FFBE                     .invalid   <<F/6/7>>
  1706. 000010E8  FFBE                     .invalid   <<F/6/7>>
  1707. 000010EA  FFBE                     .invalid   <<F/6/7>>
  1708. 000010EC  FFBE                     .invalid   <<F/6/7>>
  1709. 000010EE  FFBE                     .invalid   <<F/6/7>>
  1710. 000010F0  FFBE                     .invalid   <<F/6/7>>
  1711. 000010F2  FFB4                     .invalid   <<F/6/7>>
  1712. export_10:
  1713. 000010F4  A193                     syscall    Microseconds, flags=1
  1714. 000010F6  4E75                     rts
  1715. export_11:
  1716. 000010F8  4E56 FFF2                link       A6, -0x000E
  1717. 000010FC  48E7 0F38                movem.l    -[A7], D4,D5,D6,D7,A2,A3,A4
  1718. 00001100  2C2E 0008                move.l     D6, [A6 + 0x8]
  1719. 00001104  286E 0010                movea.l    A4, [A6 + 0x10]
  1720. 00001108  266E 000C                movea.l    A3, [A6 + 0xC]
  1721. 0000110C  7E00                     moveq.l    D7, 0x00
  1722. 0000110E  4A2D E5F8                tst.b      [A5 - 0x1A08]
  1723. 00001112  6740                     beq        +0x42 /* 00001154 */
  1724. 00001114  2F0C                     move.l     -[A7], A4
  1725. 00001116  3F3C 0001                move.w     -[A7], 0x1
  1726. 0000111A  486E FFF6                pea.l      [A6 - 0xA]
  1727. 0000111E  486E FFF2                pea.l      [A6 - 0xE]
  1728. 00001122  486E FFF8                pea.l      [A6 - 0x8]
  1729. 00001126  A98D                     syscall    GetDialogItem/GetDItem
  1730. 00001128  2F3C 0003 0003           move.l     -[A7], 0x30003
  1731. 0000112E  A89B                     syscall    PenSize
  1732. 00001130  486E FFF8                pea.l      [A6 - 0x8]
  1733. 00001134  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  1734. 0000113A  A8A9                     syscall    InsetRect
  1735. 0000113C  486E FFF8                pea.l      [A6 - 0x8]
  1736. 00001140  2F3C 0010 0010           move.l     -[A7], 0x100010
  1737. 00001146  A8B0                     syscall    FrameRoundRect
  1738. 00001148  2F3C 0001 0001           move.l     -[A7], 0x10001
  1739. 0000114E  A89B                     syscall    PenSize
  1740. 00001150  422D E5F8                clr.b      [A5 - 0x1A08]
  1741. label00001154:
  1742. 00001154  2F06                     move.l     -[A7], D6
  1743. 00001156  2F0B                     move.l     -[A7], A3
  1744. 00001158  2F0C                     move.l     -[A7], A4
  1745. 0000115A  4EAD 0282                jsr        [A5 + 0x282 /* export_76 */]
  1746. 0000115E  1E00                     move.b     D7, D0
  1747. 00001160  0C53 0003                cmpi.w     [A3], 0x3
  1748. 00001164  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1749. 00001168  665A                     bne        +0x5C /* 000011C4 */
  1750. 0000116A  3A2B 0004                move.w     D5, [A3 + 0x4]
  1751. 0000116E  0245 00FF                andi.w     D5, 0xFF
  1752. 00001172  0C45 000D                cmpi.w     D5, 0xD /* '\r' */
  1753. 00001176  6706                     beq        +0x8 /* 0000117E */
  1754. 00001178  0C45 0003                cmpi.w     D5, 0x3
  1755. 0000117C  6646                     bne        +0x48 /* 000011C4 */
  1756. label0000117E:
  1757. 0000117E  7E01                     moveq.l    D7, 0x01
  1758. 00001180  2046                     movea.l    A0, D6
  1759. 00001182  30BC 0001                move.w     [A0], 0x1
  1760. 00001186  2F0C                     move.l     -[A7], A4
  1761. 00001188  2046                     movea.l    A0, D6
  1762. 0000118A  3F10                     move.w     -[A7], [A0]
  1763. 0000118C  486E FFF6                pea.l      [A6 - 0xA]
  1764. 00001190  486E FFF2                pea.l      [A6 - 0xE]
  1765. 00001194  486E FFF8                pea.l      [A6 - 0x8]
  1766. 00001198  A98D                     syscall    GetDialogItem/GetDItem
  1767. 0000119A  0C6E 0004 FFF6           cmpi.w     [A6 - 0xA], 0x4
  1768. 000011A0  6622                     bne        +0x24 /* 000011C4 */
  1769. 000011A2  246E FFF2                movea.l    A2, [A6 - 0xE]
  1770. 000011A6  2F0A                     move.l     -[A7], A2
  1771. 000011A8  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1772. 000011AC  A95D                     syscall    HiliteControl
  1773. 000011AE  42A7                     clr.l      -[A7]
  1774. 000011B0  A975                     syscall    TickCount
  1775. 000011B2  780F                     moveq.l    D4, 0x0F
  1776. 000011B4  D89F                     add.l      D4, [A7]+
  1777. label000011B6:
  1778. 000011B6  42A7                     clr.l      -[A7]
  1779. 000011B8  A975                     syscall    TickCount
  1780. 000011BA  B89F                     cmp.l      D4, [A7]+
  1781. 000011BC  62F8                     bhi        -0x6 /* 000011B6 */
  1782. 000011BE  2F0A                     move.l     -[A7], A2
  1783. 000011C0  4267                     clr.w      -[A7]
  1784. 000011C2  A95D                     syscall    HiliteControl
  1785. label000011C4:
  1786. 000011C4  1D47 0014                move.b     [A6 + 0x14], D7
  1787. 000011C8  4CDF 1CF0                movem.l    D4,D5,D6,D7,A2,A3,A4, [A7]+
  1788. 000011CC  4E5E                     unlink     A6
  1789. 000011CE  205F                     movea.l    A0, [A7]+
  1790. 000011D0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1791. 000011D4  4ED0                     jmp        [A0]
  1792. 000011D6  884D                     or.w       D4, A5
  1793. 000011D8  7946                     moveq.l    D4, 0x46
  1794. 000011DA  696C                     bvs        +0x6E /* 00001248 */
  1795. 000011DC  7465                     moveq.l    D2, 0x65
  1796. 000011DE  7200                     moveq.l    D1, 0x00
  1797. 000011E0  0000 4EAD                ori.b      D0, 0xAD
  1798. // begin alternate branch 000011E2-000011EC
  1799. fn000011E2:
  1800. 000011E2  4EAD 027A                jsr        [A5 + 0x27A /* export_75 */]
  1801. 000011E6  4E75                     rts
  1802. export_12:
  1803. fn000011E8:
  1804. 000011E8  4E56 FFF8                link       A6, -0x0008
  1805. // end alternate branch 000011E2-000011EC
  1806. fn000011E2: // (misaligned)
  1807. 000011E4  027A 4E75 4E56           andi.w     [PC + 0x4E56 /* 0000603C, cstring ""<EOF> */], 0x4E75 /* 'Nu' */
  1808. export_12: // at 000011E8 (misaligned)
  1809. fn000011E8: // (misaligned)
  1810. 000011EA  FFF8                     .invalid   <<F/7/7>>
  1811. 000011EC  48E7 0108                movem.l    -[A7], D7,A4
  1812. 000011F0  42A7                     clr.l      -[A7]
  1813. 000011F2  2F3C 414C 5254           move.l     -[A7], 0x414C5254 /* 'ALRT' */
  1814. 000011F8  3F3C 0104                move.w     -[A7], 0x104
  1815. 000011FC  A9A0                     syscall    GetResource
  1816. 000011FE  285F                     movea.l    A4, [A7]+
  1817. 00001200  204C                     movea.l    A0, A4
  1818. 00001202  A029                     syscall    HLock
  1819. 00001204  2054                     movea.l    A0, [A4]
  1820. 00001206  2D50 FFF8                move.l     [A6 - 0x8], [A0]
  1821. 0000120A  2D68 0004 FFFC           move.l     [A6 - 0x4], [A0 + 0x4]
  1822. 00001210  302E FFFC                move.w     D0, [A6 - 0x4]
  1823. 00001214  906E FFF8                sub.w      D0, [A6 - 0x8]
  1824. 00001218  322D E574                move.w     D1, [A5 - 0x1A8C]
  1825. 0000121C  926D E570                sub.w      D1, [A5 - 0x1A90]
  1826. 00001220  9240                     sub.w      D1, D0
  1827. 00001222  48C1                     ext.l      D1
  1828. 00001224  83FC 0003                divs.w     D1, 0x3
  1829. 00001228  3D41 FFF8                move.w     [A6 - 0x8], D1
  1830. 0000122C  302E FFFE                move.w     D0, [A6 - 0x2]
  1831. 00001230  906E FFFA                sub.w      D0, [A6 - 0x6]
  1832. 00001234  322D E576                move.w     D1, [A5 - 0x1A8A]
  1833. 00001238  926D E572                sub.w      D1, [A5 - 0x1A8E]
  1834. 0000123C  9240                     sub.w      D1, D0
  1835. 0000123E  48C1                     ext.l      D1
  1836. 00001240  83FC 0002                divs.w     D1, 0x2
  1837. 00001244  3D41 FFFA                move.w     [A6 - 0x6], D1
  1838. label00001248:
  1839. 00001248  2054                     movea.l    A0, [A4]
  1840. 0000124A  3028 0004                move.w     D0, [A0 + 0x4]
  1841. 0000124E  9050                     sub.w      D0, [A0]
  1842. 00001250  D06E FFF8                add.w      D0, [A6 - 0x8]
  1843. 00001254  3D40 FFFC                move.w     [A6 - 0x4], D0
  1844. 00001258  2054                     movea.l    A0, [A4]
  1845. 0000125A  3028 0006                move.w     D0, [A0 + 0x6]
  1846. 0000125E  9068 0002                sub.w      D0, [A0 + 0x2]
  1847. 00001262  D06E FFFA                add.w      D0, [A6 - 0x6]
  1848. 00001266  3D40 FFFE                move.w     [A6 - 0x2], D0
  1849. 0000126A  2054                     movea.l    A0, [A4]
  1850. 0000126C  20AE FFF8                move.l     [A0], [A6 - 0x8]
  1851. 00001270  216E FFFC 0004           move.l     [A0 + 0x4], [A6 - 0x4]
  1852. 00001276  1B7C 0001 E5F8           move.b     [A5 - 0x1A08], 0x1
  1853. 0000127C  4267                     clr.w      -[A7]
  1854. 0000127E  3F3C 0104                move.w     -[A7], 0x104
  1855. 00001282  486D 007A                pea.l      [A5 + 0x7A /* export_11 */]
  1856. 00001286  A988                     syscall    CautionAlert
  1857. 00001288  3E1F                     move.w     D7, [A7]+
  1858. 0000128A  204C                     movea.l    A0, A4
  1859. 0000128C  A02A                     syscall    HUnlock
  1860. 0000128E  0C47 0001                cmpi.w     D7, 0x1
  1861. 00001292  3F07                     move.w     -[A7], D7
  1862. 00001294  4EAD 028A                jsr        [A5 + 0x28A /* export_77 */]
  1863. 00001298  4CEE 1080 FFF0           movem.l    D7,A4, [A6 - 0x10]
  1864. 0000129E  4E5E                     unlink     A6
  1865. 000012A0  4E75                     rts
  1866. 000012A2  9050                     sub.w      D0, [A0]
  1867. 000012A4  415F                     chk.w      D0, [A7]+
  1868. 000012A6  4765                     chk.w      D3, -[A5]
  1869. 000012A8  6E65                     bgt        +0x67 /* 0000130F */
  1870. 000012AA  7261                     moveq.l    D1, 0x61
  1871. 000012AC  6C5F                     bge        +0x61 /* 0000130D */
  1872. 000012AE  416C 6572                chk.w      D0, [A4 + 0x6572]
  1873. 000012B2  7400                     moveq.l    D2, 0x00
  1874. 000012B4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1875. // begin alternate branch 000012B6-000012BE
  1876. fn000012B6:
  1877. 000012B6  4E56 FE86                link       A6, -0x017A
  1878. 000012BA  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1879. // end alternate branch 000012B6-000012BE
  1880. fn000012B6: // (misaligned)
  1881. 000012B8  FE86 48E7                .extension 0xE86 <<F/2-3/7>> // unimplemented
  1882. 000012BC  0708                     btst       A0, D3
  1883. 000012BE  486E FFF8                pea.l      [A6 - 0x8]
  1884. 000012C2  486E FFE4                pea.l      [A6 - 0x1C]
  1885. 000012C6  486E FEE4                pea.l      [A6 - 0x11C]
  1886. 000012CA  486E FE96                pea.l      [A6 - 0x16A]
  1887. 000012CE  486E FE9A                pea.l      [A6 - 0x166]
  1888. 000012D2  4EAD 01F2                jsr        [A5 + 0x1F2 /* export_58 */]
  1889. 000012D6  7C00                     moveq.l    D6, 0x00
  1890. 000012D8  7A00                     moveq.l    D5, 0x00
  1891. 000012DA  426E FFFC                clr.w      [A6 - 0x4]
  1892. 000012DE  4A2D EA0B                tst.b      [A5 - 0x15F5]
  1893. 000012E2  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1894. 000012E6  6700 01AC                beq        +0x1AE /* 00001494 */
  1895. 000012EA  4267                     clr.w      -[A7]
  1896. 000012EC  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  1897. 000012F2  486E FFF4                pea.l      [A6 - 0xC]
  1898. 000012F6  4EBA EE72                jsr        [PC - 0x118E /* 0000016A */]
  1899. 000012FA  3E1F                     move.w     D7, [A7]+
  1900. 000012FC  4A47                     tst.w      D7
  1901. 000012FE  660A                     bne        +0xC /* 0000130A */
  1902. 00001300  082E 0000 FFF7           btst.b     [A6 - 0x9], 0x0
  1903. 00001306  6702                     beq        +0x4 /* 0000130A */
  1904. 00001308  7A01                     moveq.l    D5, 0x01
  1905. label0000130A:
  1906. 0000130A  4A2D EA0B                tst.b      [A5 - 0x15F5]
  1907. 0000130E  6778                     beq        +0x7A /* 00001388 */
  1908. 00001310  4A05                     tst.b      D5
  1909. 00001312  6774                     beq        +0x76 /* 00001388 */
  1910. 00001314  4267                     clr.w      -[A7]
  1911. 00001316  3F3C 8000                move.w     -[A7], 0x8000
  1912. 0000131A  2F3C 7072 6566           move.l     -[A7], 0x70726566 /* 'pref' */
  1913. 00001320  1F3C 0001                move.b     -[A7], 0x1
  1914. 00001324  486E FFFE                pea.l      [A6 - 0x2]
  1915. 00001328  486E FFF0                pea.l      [A6 - 0x10]
  1916. 0000132C  4EBA F2D2                jsr        [PC - 0xD2E /* 00000600 */]
  1917. 00001330  3E1F                     move.w     D7, [A7]+
  1918. 00001332  4A47                     tst.w      D7
  1919. 00001334  6600 00A8                bne        +0xAA /* 000013DE */
  1920. 00001338  4267                     clr.w      -[A7]
  1921. 0000133A  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  1922. 0000133E  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  1923. 00001342  486E FEE4                pea.l      [A6 - 0x11C]
  1924. 00001346  486E FE9E                pea.l      [A6 - 0x162]
  1925. 0000134A  303C 0001                move.w     D0, 0x1
  1926. 0000134E  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1927. 00001350  3E1F                     move.w     D7, [A7]+
  1928. 00001352  0C47 FFD5                cmpi.w     D7, 0xFFD5
  1929. 00001356  6618                     bne        +0x1A /* 00001370 */
  1930. 00001358  4267                     clr.w      -[A7]
  1931. 0000135A  486E FE9E                pea.l      [A6 - 0x162]
  1932. 0000135E  2F2E FE9A                move.l     -[A7], [A6 - 0x166]
  1933. 00001362  2F2E FE96                move.l     -[A7], [A6 - 0x16A]
  1934. 00001366  4267                     clr.w      -[A7]
  1935. 00001368  303C 0004                move.w     D0, 0x4
  1936. 0000136C  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1937. 0000136E  3E1F                     move.w     D7, [A7]+
  1938. label00001370:
  1939. 00001370  4267                     clr.w      -[A7]
  1940. 00001372  486E FE9E                pea.l      [A6 - 0x162]
  1941. 00001376  1F3C 0003                move.b     -[A7], 0x3
  1942. 0000137A  486E FFFC                pea.l      [A6 - 0x4]
  1943. 0000137E  303C 0002                move.w     D0, 0x2
  1944. 00001382  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1945. 00001384  3E1F                     move.w     D7, [A7]+
  1946. 00001386  6056                     bra        +0x58 /* 000013DE */
  1947. label00001388:
  1948. 00001388  4267                     clr.w      -[A7]
  1949. 0000138A  3F3C 0001                move.w     -[A7], 0x1
  1950. 0000138E  486E FE86                pea.l      [A6 - 0x17A]
  1951. 00001392  4EBA EC6C                jsr        [PC - 0x1394 /* 00000000 */]
  1952. 00001396  3E1F                     move.w     D7, [A7]+
  1953. 00001398  4267                     clr.w      -[A7]
  1954. 0000139A  486E FEE4                pea.l      [A6 - 0x11C]
  1955. 0000139E  3F2E FE94                move.w     -[A7], [A6 - 0x16C]
  1956. 000013A2  486E FFFC                pea.l      [A6 - 0x4]
  1957. 000013A6  4EBA F042                jsr        [PC - 0xFBE /* 000003EA */]
  1958. 000013AA  3E1F                     move.w     D7, [A7]+
  1959. 000013AC  0C47 FFD5                cmpi.w     D7, 0xFFD5
  1960. 000013B0  662C                     bne        +0x2E /* 000013DE */
  1961. 000013B2  4267                     clr.w      -[A7]
  1962. 000013B4  486E FEE4                pea.l      [A6 - 0x11C]
  1963. 000013B8  3F2E FE94                move.w     -[A7], [A6 - 0x16C]
  1964. 000013BC  2F2E FE9A                move.l     -[A7], [A6 - 0x166]
  1965. 000013C0  2F2E FE96                move.l     -[A7], [A6 - 0x16A]
  1966. 000013C4  4EBA F0E6                jsr        [PC - 0xF1A /* 000004AC */]
  1967. 000013C8  3E1F                     move.w     D7, [A7]+
  1968. 000013CA  4267                     clr.w      -[A7]
  1969. 000013CC  486E FEE4                pea.l      [A6 - 0x11C]
  1970. 000013D0  3F2E FE94                move.w     -[A7], [A6 - 0x16C]
  1971. 000013D4  486E FFFC                pea.l      [A6 - 0x4]
  1972. 000013D8  4EBA F010                jsr        [PC - 0xFF0 /* 000003EA */]
  1973. 000013DC  3E1F                     move.w     D7, [A7]+
  1974. label000013DE:
  1975. 000013DE  4A47                     tst.w      D7
  1976. 000013E0  6600 00B2                bne        +0xB4 /* 00001494 */
  1977. 000013E4  4267                     clr.w      -[A7]
  1978. 000013E6  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  1979. 000013EA  486E FFEC                pea.l      [A6 - 0x14]
  1980. 000013EE  4EBA F0FA                jsr        [PC - 0xF06 /* 000004EA */]
  1981. 000013F2  3E1F                     move.w     D7, [A7]+
  1982. 000013F4  4AAE FFEC                tst.l      [A6 - 0x14]
  1983. 000013F8  6F00 0088                ble        +0x8A /* 00001482 */
  1984. 000013FC  7002                     moveq.l    D0, 0x02
  1985. 000013FE  2D40 FFE8                move.l     [A6 - 0x18], D0
  1986. 00001402  4267                     clr.w      -[A7]
  1987. 00001404  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  1988. 00001408  486E FFE8                pea.l      [A6 - 0x18]
  1989. 0000140C  486E FFFA                pea.l      [A6 - 0x6]
  1990. 00001410  4EBA F032                jsr        [PC - 0xFCE /* 00000444 */]
  1991. 00001414  3E1F                     move.w     D7, [A7]+
  1992. 00001416  4267                     clr.w      -[A7]
  1993. 00001418  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  1994. 0000141C  3F3C 0001                move.w     -[A7], 0x1
  1995. 00001420  42A7                     clr.l      -[A7]
  1996. 00001422  4EBA F108                jsr        [PC - 0xEF8 /* 0000052C */]
  1997. 00001426  3E1F                     move.w     D7, [A7]+
  1998. 00001428  302E FFFA                move.w     D0, [A6 - 0x6]
  1999. 0000142C  B06E FFF8                cmp.w      D0, [A6 - 0x8]
  2000. 00001430  6646                     bne        +0x48 /* 00001478 */
  2001. 00001432  4AAE FFE4                tst.l      [A6 - 0x1C]
  2002. 00001436  6F40                     ble        +0x42 /* 00001478 */
  2003. 00001438  202E FFE4                move.l     D0, [A6 - 0x1C]
  2004. 0000143C  A322                     syscall    NewHandleClear, flags=3
  2005. 0000143E  2848                     movea.l    A4, A0
  2006. 00001440  200C                     move.l     D0, A4
  2007. 00001442  673E                     beq        +0x40 /* 00001482 */
  2008. 00001444  204C                     movea.l    A0, A4
  2009. 00001446  A029                     syscall    HLock
  2010. 00001448  2D6E FFE4 FFE8           move.l     [A6 - 0x18], [A6 - 0x1C]
  2011. 0000144E  4267                     clr.w      -[A7]
  2012. 00001450  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  2013. 00001454  486E FFE8                pea.l      [A6 - 0x18]
  2014. 00001458  2F14                     move.l     -[A7], [A4]
  2015. 0000145A  4EBA EFE8                jsr        [PC - 0x1018 /* 00000444 */]
  2016. 0000145E  3E1F                     move.w     D7, [A7]+
  2017. 00001460  4A47                     tst.w      D7
  2018. 00001462  6608                     bne        +0xA /* 0000146C */
  2019. 00001464  2F0C                     move.l     -[A7], A4
  2020. 00001466  4EAD 01FA                jsr        [A5 + 0x1FA /* export_59 */]
  2021. 0000146A  588F                     addq.l     A7, 4
  2022. label0000146C:
  2023. 0000146C  7C01                     moveq.l    D6, 0x01
  2024. 0000146E  204C                     movea.l    A0, A4
  2025. 00001470  A02A                     syscall    HUnlock
  2026. 00001472  204C                     movea.l    A0, A4
  2027. 00001474  A023                     syscall    DisposHandle/DisposeHandle
  2028. 00001476  600A                     bra        +0xC /* 00001482 */
  2029. label00001478:
  2030. 00001478  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  2031. 0000147C  4EAD 0202                jsr        [A5 + 0x202 /* export_60 */]
  2032. 00001480  548F                     addq.l     A7, 2
  2033. label00001482:
  2034. 00001482  4A6E FFFC                tst.w      [A6 - 0x4]
  2035. 00001486  670C                     beq        +0xE /* 00001494 */
  2036. 00001488  4267                     clr.w      -[A7]
  2037. 0000148A  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  2038. 0000148E  4EBA EF9A                jsr        [PC - 0x1066 /* 0000042A */]
  2039. 00001492  3E1F                     move.w     D7, [A7]+
  2040. label00001494:
  2041. 00001494  4A06                     tst.b      D6
  2042. 00001496  6604                     bne        +0x6 /* 0000149C */
  2043. 00001498  4EBA 001C                jsr        [PC + 0x1C /* 000014B6 */]
  2044. label0000149C:
  2045. 0000149C  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  2046. 000014A0  4E5E                     unlink     A6
  2047. 000014A2  4E75                     rts
  2048. 000014A4  8E47                     or.w       D7, D7
  2049. 000014A6  6574                     bcs        +0x76 /* 0000151C */
  2050. 000014A8  5072 6566                addq.w     <<invalid full ext with IS == 1 and I/IS == 6>>, 8
  2051. 000014AC  6572                     bcs        +0x74 /* 00001520 */
  2052. 000014AE  656E                     bcs        +0x70 /* 0000151E */
  2053. 000014B0  6365                     bls        +0x67 /* 00001517 */
  2054. 000014B2  7300                     moveq.l    D1, 0x00
  2055. 000014B4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2056. // begin alternate branch 000014B6-000014BE
  2057. export_14:
  2058. fn000014B6:
  2059. 000014B6  4E56 FE8C                link       A6, -0x0174
  2060. 000014BA  48E7 0308                movem.l    -[A7], D6,D7,A4
  2061. // end alternate branch 000014B6-000014BE
  2062. export_14: // at 000014B6 (misaligned)
  2063. fn000014B6: // (misaligned)
  2064. 000014B8  FE8C 48E7                .extension 0xE8C <<F/2-3/7>> // unimplemented
  2065. 000014BC  0308                     btst       A0, D1
  2066. 000014BE  486E FEEA                pea.l      [A6 - 0x116]
  2067. 000014C2  486E FEF0                pea.l      [A6 - 0x110]
  2068. 000014C6  486E FF00                pea.l      [A6 - 0x100]
  2069. 000014CA  486E FE9C                pea.l      [A6 - 0x164]
  2070. 000014CE  486E FEA0                pea.l      [A6 - 0x160]
  2071. 000014D2  4EAD 01F2                jsr        [A5 + 0x1F2 /* export_58 */]
  2072. 000014D6  426E FEEC                clr.w      [A6 - 0x114]
  2073. 000014DA  202E FEF0                move.l     D0, [A6 - 0x110]
  2074. 000014DE  A322                     syscall    NewHandleClear, flags=3
  2075. 000014E0  2848                     movea.l    A4, A0
  2076. 000014E2  200C                     move.l     D0, A4
  2077. 000014E4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2078. 000014E8  6700 0152                beq        +0x154 /* 0000163C */
  2079. 000014EC  204C                     movea.l    A0, A4
  2080. 000014EE  A029                     syscall    HLock
  2081. 000014F0  2F0C                     move.l     -[A7], A4
  2082. 000014F2  4EAD 020A                jsr        [A5 + 0x20A /* export_61 */]
  2083. 000014F6  7C00                     moveq.l    D6, 0x00
  2084. 000014F8  4A2D EA0B                tst.b      [A5 - 0x15F5]
  2085. 000014FC  588F                     addq.l     A7, 4
  2086. 000014FE  6700 013C                beq        +0x13E /* 0000163C */
  2087. 00001502  4267                     clr.w      -[A7]
  2088. 00001504  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  2089. 0000150A  486E FEFC                pea.l      [A6 - 0x104]
  2090. 0000150E  4EBA EC5A                jsr        [PC - 0x13A6 /* 0000016A */]
  2091. 00001512  3E1F                     move.w     D7, [A7]+
  2092. 00001514  4A47                     tst.w      D7
  2093. 00001516  660A                     bne        +0xC /* 00001522 */
  2094. 00001518  082E 0000 FEFF           btst.b     [A6 - 0x101], 0x0
  2095. // begin alternate branch 0000151C-00001520
  2096. label0000151C:
  2097. 0000151C  FEFF 6702                .extension 0xEFF <<F/2-3/7>> // unimplemented
  2098. // end alternate branch 0000151C-00001520
  2099. label0000151C: // (misaligned)
  2100. label0000151E:
  2101. 0000151E  6702                     beq        +0x4 /* 00001522 */
  2102. label00001520:
  2103. 00001520  7C01                     moveq.l    D6, 0x01
  2104. label00001522:
  2105. 00001522  4A2D EA0B                tst.b      [A5 - 0x15F5]
  2106. 00001526  6778                     beq        +0x7A /* 000015A0 */
  2107. 00001528  4A06                     tst.b      D6
  2108. 0000152A  6774                     beq        +0x76 /* 000015A0 */
  2109. 0000152C  4267                     clr.w      -[A7]
  2110. 0000152E  3F3C 8000                move.w     -[A7], 0x8000
  2111. 00001532  2F3C 7072 6566           move.l     -[A7], 0x70726566 /* 'pref' */
  2112. 00001538  1F3C 0001                move.b     -[A7], 0x1
  2113. 0000153C  486E FEEE                pea.l      [A6 - 0x112]
  2114. 00001540  486E FEF8                pea.l      [A6 - 0x108]
  2115. 00001544  4EBA F0BA                jsr        [PC - 0xF46 /* 00000600 */]
  2116. 00001548  3E1F                     move.w     D7, [A7]+
  2117. 0000154A  4A47                     tst.w      D7
  2118. 0000154C  6600 00A8                bne        +0xAA /* 000015F6 */
  2119. 00001550  4267                     clr.w      -[A7]
  2120. 00001552  3F2E FEEE                move.w     -[A7], [A6 - 0x112]
  2121. 00001556  2F2E FEF8                move.l     -[A7], [A6 - 0x108]
  2122. 0000155A  486E FF00                pea.l      [A6 - 0x100]
  2123. 0000155E  486E FEA4                pea.l      [A6 - 0x15C]
  2124. 00001562  303C 0001                move.w     D0, 0x1
  2125. 00001566  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  2126. 00001568  3E1F                     move.w     D7, [A7]+
  2127. 0000156A  0C47 FFD5                cmpi.w     D7, 0xFFD5
  2128. 0000156E  6618                     bne        +0x1A /* 00001588 */
  2129. 00001570  4267                     clr.w      -[A7]
  2130. 00001572  486E FEA4                pea.l      [A6 - 0x15C]
  2131. 00001576  2F2E FEA0                move.l     -[A7], [A6 - 0x160]
  2132. 0000157A  2F2E FE9C                move.l     -[A7], [A6 - 0x164]
  2133. 0000157E  4267                     clr.w      -[A7]
  2134. 00001580  303C 0004                move.w     D0, 0x4
  2135. 00001584  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  2136. 00001586  3E1F                     move.w     D7, [A7]+
  2137. label00001588:
  2138. 00001588  4267                     clr.w      -[A7]
  2139. 0000158A  486E FEA4                pea.l      [A6 - 0x15C]
  2140. 0000158E  1F3C 0003                move.b     -[A7], 0x3
  2141. 00001592  486E FEEC                pea.l      [A6 - 0x114]
  2142. 00001596  303C 0002                move.w     D0, 0x2
  2143. 0000159A  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  2144. 0000159C  3E1F                     move.w     D7, [A7]+
  2145. 0000159E  6056                     bra        +0x58 /* 000015F6 */
  2146. label000015A0:
  2147. 000015A0  4267                     clr.w      -[A7]
  2148. 000015A2  3F3C 0001                move.w     -[A7], 0x1
  2149. 000015A6  486E FE8C                pea.l      [A6 - 0x174]
  2150. 000015AA  4EBA EA54                jsr        [PC - 0x15AC /* 00000000 */]
  2151. 000015AE  3E1F                     move.w     D7, [A7]+
  2152. 000015B0  4267                     clr.w      -[A7]
  2153. 000015B2  486E FF00                pea.l      [A6 - 0x100]
  2154. 000015B6  3F2E FE9A                move.w     -[A7], [A6 - 0x166]
  2155. 000015BA  486E FEEC                pea.l      [A6 - 0x114]
  2156. 000015BE  4EBA EE2A                jsr        [PC - 0x11D6 /* 000003EA */]
  2157. 000015C2  3E1F                     move.w     D7, [A7]+
  2158. 000015C4  0C47 FFD5                cmpi.w     D7, 0xFFD5
  2159. 000015C8  662C                     bne        +0x2E /* 000015F6 */
  2160. 000015CA  4267                     clr.w      -[A7]
  2161. 000015CC  486E FF00                pea.l      [A6 - 0x100]
  2162. 000015D0  3F2E FE9A                move.w     -[A7], [A6 - 0x166]
  2163. 000015D4  2F2E FEA0                move.l     -[A7], [A6 - 0x160]
  2164. 000015D8  2F2E FE9C                move.l     -[A7], [A6 - 0x164]
  2165. 000015DC  4EBA EECE                jsr        [PC - 0x1132 /* 000004AC */]
  2166. 000015E0  3E1F                     move.w     D7, [A7]+
  2167. 000015E2  4267                     clr.w      -[A7]
  2168. 000015E4  486E FF00                pea.l      [A6 - 0x100]
  2169. 000015E8  3F2E FE9A                move.w     -[A7], [A6 - 0x166]
  2170. 000015EC  486E FEEC                pea.l      [A6 - 0x114]
  2171. 000015F0  4EBA EDF8                jsr        [PC - 0x1208 /* 000003EA */]
  2172. 000015F4  3E1F                     move.w     D7, [A7]+
  2173. label000015F6:
  2174. 000015F6  4A47                     tst.w      D7
  2175. 000015F8  6642                     bne        +0x44 /* 0000163C */
  2176. 000015FA  2D6E FEF0 FEF4           move.l     [A6 - 0x10C], [A6 - 0x110]
  2177. 00001600  4267                     clr.w      -[A7]
  2178. 00001602  3F2E FEEC                move.w     -[A7], [A6 - 0x114]
  2179. 00001606  486E FEF4                pea.l      [A6 - 0x10C]
  2180. 0000160A  2F14                     move.l     -[A7], [A4]
  2181. 0000160C  4EBA EE3A                jsr        [PC - 0x11C6 /* 00000448 */]
  2182. 00001610  3E1F                     move.w     D7, [A7]+
  2183. 00001612  4267                     clr.w      -[A7]
  2184. 00001614  3F2E FEEC                move.w     -[A7], [A6 - 0x114]
  2185. 00001618  2F2E FEF4                move.l     -[A7], [A6 - 0x10C]
  2186. 0000161C  4EBA EEEE                jsr        [PC - 0x1112 /* 0000050C */]
  2187. 00001620  3E1F                     move.w     D7, [A7]+
  2188. 00001622  4A6E FEEC                tst.w      [A6 - 0x114]
  2189. 00001626  670C                     beq        +0xE /* 00001634 */
  2190. 00001628  4267                     clr.w      -[A7]
  2191. 0000162A  3F2E FEEC                move.w     -[A7], [A6 - 0x114]
  2192. 0000162E  4EBA EDFA                jsr        [PC - 0x1206 /* 0000042A */]
  2193. 00001632  3E1F                     move.w     D7, [A7]+
  2194. label00001634:
  2195. 00001634  204C                     movea.l    A0, A4
  2196. 00001636  A02A                     syscall    HUnlock
  2197. 00001638  204C                     movea.l    A0, A4
  2198. 0000163A  A023                     syscall    DisposHandle/DisposeHandle
  2199. label0000163C:
  2200. 0000163C  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  2201. 00001640  4E5E                     unlink     A6
  2202. 00001642  4E75                     rts
  2203. 00001644  8E53                     or.w       D7, [A3]
  2204. 00001646  6574                     bcs        +0x76 /* 000016BC */
  2205. 00001648  5072 6566                addq.w     <<invalid full ext with IS == 1 and I/IS == 6>>, 8
  2206. 0000164C  6572                     bcs        +0x74 /* 000016C0 */
  2207. 0000164E  656E                     bcs        +0x70 /* 000016BE */
  2208. 00001650  6365                     bls        +0x67 /* 000016B7 */
  2209. 00001652  7300                     moveq.l    D1, 0x00
  2210. 00001654  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2211. // begin alternate branch 00001656-0000165A
  2212. fn00001656:
  2213. 00001656  4E56 FFF4                link       A6, -0x000C
  2214. // end alternate branch 00001656-0000165A
  2215. fn00001656: // (misaligned)
  2216. 00001658  FFF4                     .invalid   <<F/7/7>>
  2217. 0000165A  48E7 0138                movem.l    -[A7], D7,A2,A3,A4
  2218. 0000165E  286E 0008                movea.l    A4, [A6 + 0x8]
  2219. 00001662  7E00                     moveq.l    D7, 0x00
  2220. 00001664  2D6C 0010 FFF8           move.l     [A6 - 0x8], [A4 + 0x10]
  2221. 0000166A  2D6C 0014 FFFC           move.l     [A6 - 0x4], [A4 + 0x14]
  2222. 00001670  486E FFF8                pea.l      [A6 - 0x8]
  2223. 00001674  302E FFFA                move.w     D0, [A6 - 0x6]
  2224. 00001678  4440                     neg.w      D0
  2225. 0000167A  3F00                     move.w     -[A7], D0
  2226. 0000167C  302E FFF8                move.w     D0, [A6 - 0x8]
  2227. 00001680  4440                     neg.w      D0
  2228. 00001682  3F00                     move.w     -[A7], D0
  2229. 00001684  A8A8                     syscall    OffsetRect
  2230. 00001686  486E FFF8                pea.l      [A6 - 0x8]
  2231. 0000168A  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  2232. 0000168E  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  2233. 00001692  A8A8                     syscall    OffsetRect
  2234. 00001694  486E FFF4                pea.l      [A6 - 0xC]
  2235. 00001698  A910                     syscall    GetWMgrPort
  2236. 0000169A  42A7                     clr.l      -[A7]
  2237. 0000169C  A8D8                     syscall    NewRgn
  2238. 0000169E  265F                     movea.l    A3, [A7]+
  2239. 000016A0  42A7                     clr.l      -[A7]
  2240. 000016A2  A8D8                     syscall    NewRgn
  2241. 000016A4  245F                     movea.l    A2, [A7]+
  2242. 000016A6  2F0B                     move.l     -[A7], A3
  2243. 000016A8  486E FFF8                pea.l      [A6 - 0x8]
  2244. 000016AC  A8DF                     syscall    RectRgn
  2245. 000016AE  2F0B                     move.l     -[A7], A3
  2246. 000016B0  206E FFF4                movea.l    A0, [A6 - 0xC]
  2247. 000016B4  2F28 0018                move.l     -[A7], [A0 + 0x18]
  2248. 000016B8  2F0A                     move.l     -[A7], A2
  2249. 000016BA  A8E4                     syscall    SectRgn
  2250. label000016BC:
  2251. 000016BC  4227                     clr.b      -[A7]
  2252. label000016BE:
  2253. 000016BE  2F0B                     move.l     -[A7], A3
  2254. label000016C0:
  2255. 000016C0  2F0A                     move.l     -[A7], A2
  2256. 000016C2  A8E3                     syscall    EqualRgn
  2257. 000016C4  4A1F                     tst.b      [A7]+
  2258. 000016C6  6702                     beq        +0x4 /* 000016CA */
  2259. 000016C8  7E01                     moveq.l    D7, 0x01
  2260. label000016CA:
  2261. 000016CA  2F0B                     move.l     -[A7], A3
  2262. 000016CC  A8D9                     syscall    DisposRgn/DisposeRgn
  2263. 000016CE  2F0A                     move.l     -[A7], A2
  2264. 000016D0  A8D9                     syscall    DisposRgn/DisposeRgn
  2265. 000016D2  4A07                     tst.b      D7
  2266. 000016D4  6710                     beq        +0x12 /* 000016E6 */
  2267. 000016D6  2F0C                     move.l     -[A7], A4
  2268. 000016D8  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  2269. 000016DC  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  2270. 000016E0  4227                     clr.b      -[A7]
  2271. 000016E2  A91B                     syscall    MoveWindow
  2272. 000016E4  600E                     bra        +0x10 /* 000016F4 */
  2273. label000016E6:
  2274. 000016E6  2F0C                     move.l     -[A7], A4
  2275. 000016E8  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  2276. 000016EC  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  2277. 000016F0  4227                     clr.b      -[A7]
  2278. 000016F2  A91B                     syscall    MoveWindow
  2279. label000016F4:
  2280. 000016F4  4CDF 1C80                movem.l    D7,A2,A3,A4, [A7]+
  2281. 000016F8  4E5E                     unlink     A6
  2282. 000016FA  4E75                     rts
  2283. 000016FC  8E50                     or.w       D7, [A0]
  2284. 000016FE  6F73                     ble        +0x75 /* 00001773 */
  2285. 00001700  6974                     bvs        +0x76 /* 00001776 */
  2286. 00001702  696F                     bvs        +0x71 /* 00001773 */
  2287. 00001704  6E57                     bgt        +0x59 /* 0000175D */
  2288. 00001706  696E                     bvs        +0x70 /* 00001776 */
  2289. 00001708  646F                     bcc        +0x71 /* 00001779 */
  2290. 0000170A  7700                     moveq.l    D3, 0x00
  2291. 0000170C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2292. export_13: // at 0000170E (misaligned)
  2293. 00001710  0000 2F0C                ori.b      D0, 0xC
  2294. 00001714  286E 000C                movea.l    A4, [A6 + 0xC]
  2295. 00001718  206E 0008                movea.l    A0, [A6 + 0x8]
  2296. 0000171C  1890                     move.b     [A4], [A0]
  2297. 0000171E  4A14                     tst.b      [A4]
  2298. 00001720  6710                     beq        +0x12 /* 00001732 */
  2299. 00001722  7000                     moveq.l    D0, 0x00
  2300. 00001724  1014                     move.b     D0, [A4]
  2301. 00001726  5240                     addq.w     D0, 1
  2302. 00001728  48C0                     ext.l      D0
  2303. 0000172A  224C                     movea.l    A1, A4
  2304. 0000172C  206E 0008                movea.l    A0, [A6 + 0x8]
  2305. 00001730  A02E                     syscall    BlockMove/BlockMoveData
  2306. label00001732:
  2307. 00001732  285F                     movea.l    A4, [A7]+
  2308. 00001734  4E5E                     unlink     A6
  2309. 00001736  4E75                     rts
  2310. 00001738  8850                     or.w       D4, [A0]
  2311. 0000173A  5374 7243                subq.w     [A4 + D7.w * 2 + 0x43], 1
  2312. 0000173E  6F70                     ble        +0x72 /* 000017B0 */
  2313. 00001740  7900                     moveq.l    D4, 0x00
  2314. 00001742  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2315. 00001746  0000 48E7                ori.b      D0, 0xE7
  2316. 0000174A  0708                     btst       A0, D3
  2317. 0000174C  286E 000C                movea.l    A4, [A6 + 0xC]
  2318. 00001750  7E00                     moveq.l    D7, 0x00
  2319. 00001752  1E14                     move.b     D7, [A4]
  2320. 00001754  206E 0008                movea.l    A0, [A6 + 0x8]
  2321. 00001758  7A00                     moveq.l    D5, 0x00
  2322. 0000175A  1A10                     move.b     D5, [A0]
  2323. 0000175C  3C05                     move.w     D6, D5
  2324. 0000175E  DC47                     add.w      D6, D7
  2325. 00001760  0C46 00FF                cmpi.w     D6, 0xFF
  2326. 00001764  6F0A                     ble        +0xC /* 00001770 */
  2327. 00001766  3C3C 00FF                move.w     D6, 0xFF
  2328. 0000176A  3A3C 00FF                move.w     D5, 0xFF
  2329. 0000176E  9A47                     sub.w      D5, D7
  2330. label00001770:
  2331. 00001770  1886                     move.b     [A4], D6
  2332. 00001772  4A45                     tst.w      D5
  2333. 00001774  6F12                     ble        +0x14 /* 00001788 */
  2334. label00001776:
  2335. 00001776  7001                     moveq.l    D0, 0x01
  2336. 00001778  D0AE 0008                add.l      D0, [A6 + 0x8]
  2337. 0000177C  2040                     movea.l    A0, D0
  2338. 0000177E  43F4 7001                lea.l      A1, [A4 + D7.w + 0x1]
  2339. 00001782  2005                     move.l     D0, D5
  2340. 00001784  48C0                     ext.l      D0
  2341. 00001786  A02E                     syscall    BlockMove/BlockMoveData
  2342. label00001788:
  2343. 00001788  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  2344. 0000178C  4E5E                     unlink     A6
  2345. 0000178E  4E75                     rts
  2346. 00001790  8750                     or.w       [A0], D3
  2347. 00001792  5374 7243                subq.w     [A4 + D7.w * 2 + 0x43], 1
  2348. 00001796  6174                     bsr        +0x76 /* 0000180C */
  2349. 00001798  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2350. 0000179C  0000 48E7                ori.b      D0, 0xE7
  2351. 000017A0  0700                     btst       D0, D3
  2352. 000017A2  7A00                     moveq.l    D5, 0x00
  2353. 000017A4  206E 0008                movea.l    A0, [A6 + 0x8]
  2354. 000017A8  52AE 0008                addq.l     [A6 + 0x8], 1
  2355. 000017AC  7E00                     moveq.l    D7, 0x00
  2356. 000017AE  1E10                     move.b     D7, [A0]
  2357. label000017B0:
  2358. 000017B0  206E 000C                movea.l    A0, [A6 + 0xC]
  2359. 000017B4  52AE 000C                addq.l     [A6 + 0xC], 1
  2360. 000017B8  7000                     moveq.l    D0, 0x00
  2361. 000017BA  1010                     move.b     D0, [A0]
  2362. 000017BC  B047                     cmp.w      D0, D7
  2363. 000017BE  6624                     bne        +0x26 /* 000017E4 */
  2364. 000017C0  7A01                     moveq.l    D5, 0x01
  2365. 000017C2  7C01                     moveq.l    D6, 0x01
  2366. 000017C4  601A                     bra        +0x1C /* 000017E0 */
  2367. label000017C6:
  2368. 000017C6  206E 0008                movea.l    A0, [A6 + 0x8]
  2369. 000017CA  52AE 0008                addq.l     [A6 + 0x8], 1
  2370. 000017CE  226E 000C                movea.l    A1, [A6 + 0xC]
  2371. 000017D2  52AE 000C                addq.l     [A6 + 0xC], 1
  2372. 000017D6  1010                     move.b     D0, [A0]
  2373. 000017D8  B011                     cmp.b      D0, [A1]
  2374. 000017DA  6702                     beq        +0x4 /* 000017DE */
  2375. 000017DC  7A00                     moveq.l    D5, 0x00
  2376. label000017DE:
  2377. 000017DE  5246                     addq.w     D6, 1
  2378. label000017E0:
  2379. 000017E0  BE46                     cmp.w      D7, D6
  2380. 000017E2  6CE2                     bge        -0x1C /* 000017C6 */
  2381. label000017E4:
  2382. 000017E4  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  2383. 000017E8  4E5E                     unlink     A6
  2384. 000017EA  4E75                     rts
  2385. 000017EC  8750                     or.w       [A0], D3
  2386. 000017EE  5374 7243                subq.w     [A4 + D7.w * 2 + 0x43], 1
  2387. 000017F2  6D70                     blt        +0x72 /* 00001864 */
  2388. 000017F4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2389. // begin alternate branch 000017F6-000017FA
  2390. fn000017F6:
  2391. 000017F6  4E56 FFFC                link       A6, -0x0004
  2392. // end alternate branch 000017F6-000017FA
  2393. fn000017F6: // (misaligned)
  2394. 000017F8  FFFC                     .invalid   <<F/7/7>>
  2395. 000017FA  2F07                     move.l     -[A7], D7
  2396. 000017FC  42A7                     clr.l      -[A7]
  2397. 000017FE  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  2398. 00001802  1F2E 000B                move.b     -[A7], [A6 + 0xB]
  2399. 00001806  4EBA EB7E                jsr        [PC - 0x1482 /* 00000386 */]
  2400. 0000180A  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  2401. // begin alternate branch 0000180C-0000180E
  2402. fn0000180C:
  2403. 0000180C  FFFC                     .invalid   <<F/7/7>>
  2404. // end alternate branch 0000180C-0000180E
  2405. fn0000180C: // (misaligned)
  2406. 0000180E  303C A89F                move.w     D0, 0xA89F
  2407. 00001812  A146                     syscall    GetTrapAddress, flags=1
  2408. 00001814  B1EE FFFC                cmpa.l     A0, [A6 - 0x4]
  2409. 00001818  56C7                     sne        D7
  2410. 0000181A  4407                     neg.b      D7
  2411. 0000181C  1007                     move.b     D0, D7
  2412. 0000181E  2E1F                     move.l     D7, [A7]+
  2413. 00001820  4E5E                     unlink     A6
  2414. 00001822  4E75                     rts
  2415. 00001824  9243                     sub.w      D1, D3
  2416. 00001826  6865                     bvc        +0x67 /* 0000188D */
  2417. 00001828  636B                     bls        +0x6D /* 00001895 */
  2418. 0000182A  5472 6170 4176 6169      addq.w     [A2 + 0x41766169], 2
  2419. 00001832  6C61                     bge        +0x63 /* 00001895 */
  2420. 00001834  626C                     bhi        +0x6E /* 000018A2 */
  2421. 00001836  6500 0000                bcs        +0x2 /* 00001838 */
  2422. // begin alternate branch 00001838-00001848
  2423. label00001838:
  2424. 00001838  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2425. fn0000183A: // (misaligned)
  2426. 0000183C  0000 48E7                ori.b      D0, 0xE7
  2427. 00001840  0018 286E                ori.b      [A0]+, 0x6E /* 'n' */
  2428. 00001844  0008 4254                ori.b      A0, 0x54 /* 'T' */
  2429. // end alternate branch 00001838-00001848
  2430. label00001838: // (misaligned)
  2431. fn0000183A:
  2432. 0000183A  4E56 0000                link       A6, 0
  2433. 0000183E  48E7 0018                movem.l    -[A7], A3,A4
  2434. 00001842  286E 0008                movea.l    A4, [A6 + 0x8]
  2435. 00001846  4254                     clr.w      [A4]
  2436. 00001848  4AAD E60A                tst.l      [A5 - 0x19F6]
  2437. 0000184C  6752                     beq        +0x54 /* 000018A0 */
  2438. 0000184E  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2439. 00001852  A029                     syscall    HLock
  2440. 00001854  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2441. 00001858  2050                     movea.l    A0, [A0]
  2442. 0000185A  3890                     move.w     [A4], [A0]
  2443. 0000185C  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2444. 00001860  2050                     movea.l    A0, [A0]
  2445. 00001862  3968 0002 0002           move.w     [A4 + 0x2], [A0 + 0x2]
  2446. // begin alternate branch 00001864-00001868
  2447. label00001864:
  2448. 00001864  0002 0002                ori.b      D2, 0x2
  2449. // end alternate branch 00001864-00001868
  2450. label00001864: // (misaligned)
  2451. 00001868  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2452. 0000186C  2050                     movea.l    A0, [A0]
  2453. 0000186E  2968 0004 0004           move.l     [A4 + 0x4], [A0 + 0x4]
  2454. 00001874  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2455. 00001878  2050                     movea.l    A0, [A0]
  2456. 0000187A  2968 0008 0008           move.l     [A4 + 0x8], [A0 + 0x8]
  2457. 00001880  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2458. 00001884  2050                     movea.l    A0, [A0]
  2459. 00001886  2968 000C 000C           move.l     [A4 + 0xC], [A0 + 0xC]
  2460. 0000188C  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2461. 00001890  2050                     movea.l    A0, [A0]
  2462. 00001892  2668 0010                movea.l    A3, [A0 + 0x10]
  2463. 00001896  206D E60A                movea.l    A0, [A5 - 0x19F6]
  2464. 0000189A  A023                     syscall    DisposHandle/DisposeHandle
  2465. 0000189C  2B4B E60A                move.l     [A5 - 0x19F6], A3
  2466. label000018A0:
  2467. 000018A0  4CDF 1800                movem.l    A3,A4, [A7]+
  2468. // begin alternate branch 000018A2-000018A4
  2469. label000018A2:
  2470. 000018A2  1800                     move.b     D4, D0
  2471. // end alternate branch 000018A2-000018A4
  2472. label000018A2: // (misaligned)
  2473. 000018A4  4E5E                     unlink     A6
  2474. 000018A6  4E75                     rts
  2475. 000018A8  8C47                     or.w       D6, D7
  2476. 000018AA  6574                     bcs        +0x76 /* 00001920 */
  2477. 000018AC  5573 6572 4576 656E 7400 subq.w     [[A3 + 0x4576656E] + 0x7400], 2
  2478. 000018B6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2479. // begin alternate branch 000018B8-000018C2
  2480. fn000018B8:
  2481. 000018B8  4E56 0000                link       A6, 0
  2482. 000018BC  48E7 0018                movem.l    -[A7], A3,A4
  2483. 000018C0  7014                     moveq.l    D0, 0x14
  2484. // end alternate branch 000018B8-000018C2
  2485. fn000018B8: // (misaligned)
  2486. 000018BA  0000 48E7                ori.b      D0, 0xE7
  2487. 000018BE  0018 7014                ori.b      [A0]+, 0x14
  2488. 000018C2  A122                     syscall    NewHandle, flags=1
  2489. 000018C4  2848                     movea.l    A4, A0
  2490. 000018C6  200C                     move.l     D0, A4
  2491. 000018C8  6756                     beq        +0x58 /* 00001920 */
  2492. 000018CA  204C                     movea.l    A0, A4
  2493. 000018CC  A029                     syscall    HLock
  2494. 000018CE  2054                     movea.l    A0, [A4]
  2495. 000018D0  30AE 0008                move.w     [A0], [A6 + 0x8]
  2496. 000018D4  2054                     movea.l    A0, [A4]
  2497. 000018D6  316E 000A 0002           move.w     [A0 + 0x2], [A6 + 0xA]
  2498. 000018DC  2054                     movea.l    A0, [A4]
  2499. 000018DE  216E 000C 0004           move.l     [A0 + 0x4], [A6 + 0xC]
  2500. 000018E4  2054                     movea.l    A0, [A4]
  2501. 000018E6  216E 0010 0008           move.l     [A0 + 0x8], [A6 + 0x10]
  2502. 000018EC  2054                     movea.l    A0, [A4]
  2503. 000018EE  216E 0014 000C           move.l     [A0 + 0xC], [A6 + 0x14]
  2504. 000018F4  2054                     movea.l    A0, [A4]
  2505. 000018F6  42A8 0010                clr.l      [A0 + 0x10]
  2506. 000018FA  4AAD E60A                tst.l      [A5 - 0x19F6]
  2507. 000018FE  6606                     bne        +0x8 /* 00001906 */
  2508. 00001900  2B4C E60A                move.l     [A5 - 0x19F6], A4
  2509. 00001904  601A                     bra        +0x1C /* 00001920 */
  2510. label00001906:
  2511. 00001906  266D E60A                movea.l    A3, [A5 - 0x19F6]
  2512. 0000190A  6006                     bra        +0x8 /* 00001912 */
  2513. label0000190C:
  2514. 0000190C  2053                     movea.l    A0, [A3]
  2515. 0000190E  2668 0010                movea.l    A3, [A0 + 0x10]
  2516. label00001912:
  2517. 00001912  2053                     movea.l    A0, [A3]
  2518. 00001914  4AA8 0010                tst.l      [A0 + 0x10]
  2519. 00001918  66F2                     bne        -0xC /* 0000190C */
  2520. 0000191A  2053                     movea.l    A0, [A3]
  2521. 0000191C  214C 0010                move.l     [A0 + 0x10], A4
  2522. label00001920:
  2523. 00001920  4CDF 1800                movem.l    A3,A4, [A7]+
  2524. 00001924  4E5E                     unlink     A6
  2525. 00001926  4E75                     rts
  2526. 00001928  8D41 6464                pack       D6, D1, 0x6464
  2527. 0000192C  5F55                     subq.w     [A5], 7
  2528. 0000192E  7365                     moveq.l    D1, 0x65
  2529. 00001930  7245                     moveq.l    D1, 0x45
  2530. 00001932  7665                     moveq.l    D3, 0x65
  2531. 00001934  6E74                     bgt        +0x76 /* 000019AA */
  2532. 00001936  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2533. // begin alternate branch 00001938-0000193C
  2534. fn00001938:
  2535. 00001938  4E56 FFFA                link       A6, -0x0006
  2536. // end alternate branch 00001938-0000193C
  2537. fn00001938: // (misaligned)
  2538. 0000193A  FFFA                     .invalid   <<F/7/7>>
  2539. 0000193C  48E7 0108                movem.l    -[A7], D7,A4
  2540. 00001940  4267                     clr.w      -[A7]
  2541. 00001942  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2542. 00001946  A962                     syscall    GetControlMaximum/GetMaxCtl
  2543. 00001948  3E1F                     move.w     D7, [A7]+
  2544. 0000194A  42A7                     clr.l      -[A7]
  2545. 0000194C  2F3C 4D45 4E55           move.l     -[A7], 0x4D454E55 /* 'MENU' */
  2546. 00001952  3F07                     move.w     -[A7], D7
  2547. 00001954  A81F                     syscall    Get1Resource
  2548. 00001956  285F                     movea.l    A4, [A7]+
  2549. 00001958  200C                     move.l     D0, A4
  2550. 0000195A  6712                     beq        +0x14 /* 0000196E */
  2551. 0000195C  2F0C                     move.l     -[A7], A4
  2552. 0000195E  486E FFFA                pea.l      [A6 - 0x6]
  2553. 00001962  486E FFFC                pea.l      [A6 - 0x4]
  2554. 00001966  486D E630                pea.l      [A5 - 0x19D0]
  2555. 0000196A  A9A8                     syscall    GetResInfo
  2556. 0000196C  6004                     bra        +0x6 /* 00001972 */
  2557. label0000196E:
  2558. 0000196E  422D E630                clr.b      [A5 - 0x19D0]
  2559. label00001972:
  2560. 00001972  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2561. 00001976  486D E630                pea.l      [A5 - 0x19D0]
  2562. 0000197A  A95F                     syscall    SetControlTitle/SetCTitle
  2563. 0000197C  4CDF 1080                movem.l    D7,A4, [A7]+
  2564. 00001980  4E5E                     unlink     A6
  2565. 00001982  4E75                     rts
  2566. 00001984  8F53                     or.w       [A3], D7
  2567. 00001986  6574                     bcs        +0x76 /* 000019FC */
  2568. 00001988  4E61                     move       USP, A1
  2569. 0000198A  6D65                     blt        +0x67 /* 000019F1 */
  2570. 0000198C  466F 7250                not.w      [A7 + 0x7250]
  2571. 00001990  6F70                     ble        +0x72 /* 00001A02 */
  2572. 00001992  7570                     moveq.l    D2, 0x70
  2573. 00001994  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2574. // begin alternate branch 00001996-0000199A
  2575. fn00001996:
  2576. 00001996  4E56 FFFC                link       A6, -0x0004
  2577. // end alternate branch 00001996-0000199A
  2578. fn00001996: // (misaligned)
  2579. 00001998  FFFC                     .invalid   <<F/7/7>>
  2580. 0000199A  48E7 1F08                movem.l    -[A7], D3,D4,D5,D6,D7,A4
  2581. 0000199E  3E2E 000C                move.w     D7, [A6 + 0xC]
  2582. 000019A2  3C2E 000E                move.w     D6, [A6 + 0xE]
  2583. 000019A6  3A2E 0010                move.w     D5, [A6 + 0x10]
  2584. label000019AA:
  2585. 000019AA  286E 0016                movea.l    A4, [A6 + 0x16]
  2586. 000019AE  7601                     moveq.l    D3, 0x01
  2587. 000019B0  6000 009A                bra        +0x9C /* 00001A4C */
  2588. label000019B4:
  2589. 000019B4  7600                     moveq.l    D3, 0x00
  2590. 000019B6  2F0C                     move.l     -[A7], A4
  2591. 000019B8  3F07                     move.w     -[A7], D7
  2592. 000019BA  A95D                     syscall    HiliteControl
  2593. 000019BC  4267                     clr.w      -[A7]
  2594. 000019BE  2F0C                     move.l     -[A7], A4
  2595. 000019C0  A960                     syscall    GetControlValue/GetCtlValue
  2596. 000019C2  381F                     move.w     D4, [A7]+
  2597. 000019C4  0C47 0014                cmpi.w     D7, 0x14
  2598. 000019C8  660A                     bne        +0xC /* 000019D4 */
  2599. 000019CA  986E 0012                sub.w      D4, [A6 + 0x12]
  2600. 000019CE  BC44                     cmp.w      D6, D4
  2601. 000019D0  6F02                     ble        +0x4 /* 000019D4 */
  2602. 000019D2  3806                     move.w     D4, D6
  2603. label000019D4:
  2604. 000019D4  0C47 0015                cmpi.w     D7, 0x15
  2605. 000019D8  660A                     bne        +0xC /* 000019E4 */
  2606. 000019DA  D86E 0012                add.w      D4, [A6 + 0x12]
  2607. 000019DE  BA44                     cmp.w      D5, D4
  2608. 000019E0  6C02                     bge        +0x4 /* 000019E4 */
  2609. 000019E2  3805                     move.w     D4, D5
  2610. label000019E4:
  2611. 000019E4  0C47 0016                cmpi.w     D7, 0x16
  2612. 000019E8  660A                     bne        +0xC /* 000019F4 */
  2613. 000019EA  986E 0014                sub.w      D4, [A6 + 0x14]
  2614. 000019EE  BC44                     cmp.w      D6, D4
  2615. 000019F0  6F02                     ble        +0x4 /* 000019F4 */
  2616. 000019F2  3806                     move.w     D4, D6
  2617. label000019F4:
  2618. 000019F4  0C47 0017                cmpi.w     D7, 0x17
  2619. 000019F8  660A                     bne        +0xC /* 00001A04 */
  2620. 000019FA  D86E 0014                add.w      D4, [A6 + 0x14]
  2621. // begin alternate branch 000019FC-00001A00
  2622. label000019FC:
  2623. 000019FC  0014 BA44                ori.b      [A4], 0x44 /* 'D' */
  2624. // end alternate branch 000019FC-00001A00
  2625. label000019FC: // (misaligned)
  2626. 000019FE  BA44                     cmp.w      D5, D4
  2627. 00001A00  6C02                     bge        +0x4 /* 00001A04 */
  2628. label00001A02:
  2629. 00001A02  3805                     move.w     D4, D5
  2630. label00001A04:
  2631. 00001A04  0C47 0081                cmpi.w     D7, 0x81
  2632. 00001A08  6616                     bne        +0x18 /* 00001A20 */
  2633. 00001A0A  4267                     clr.w      -[A7]
  2634. 00001A0C  2F0C                     move.l     -[A7], A4
  2635. 00001A0E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2636. 00001A12  42A7                     clr.l      -[A7]
  2637. 00001A14  A968                     syscall    TrackControl
  2638. 00001A16  3E1F                     move.w     D7, [A7]+
  2639. 00001A18  4267                     clr.w      -[A7]
  2640. 00001A1A  2F0C                     move.l     -[A7], A4
  2641. 00001A1C  A960                     syscall    GetControlValue/GetCtlValue
  2642. 00001A1E  381F                     move.w     D4, [A7]+
  2643. label00001A20:
  2644. 00001A20  2F0C                     move.l     -[A7], A4
  2645. 00001A22  3F04                     move.w     -[A7], D4
  2646. 00001A24  A963                     syscall    SetControlValue/SetCtlValue
  2647. 00001A26  42A7                     clr.l      -[A7]
  2648. 00001A28  A975                     syscall    TickCount
  2649. 00001A2A  7009                     moveq.l    D0, 0x09
  2650. 00001A2C  D09F                     add.l      D0, [A7]+
  2651. 00001A2E  2D40 FFFC                move.l     [A6 - 0x4], D0
  2652. label00001A32:
  2653. 00001A32  4227                     clr.b      -[A7]
  2654. 00001A34  A974                     syscall    Button
  2655. 00001A36  4A1F                     tst.b      [A7]+
  2656. 00001A38  670C                     beq        +0xE /* 00001A46 */
  2657. 00001A3A  42A7                     clr.l      -[A7]
  2658. 00001A3C  A975                     syscall    TickCount
  2659. 00001A3E  201F                     move.l     D0, [A7]+
  2660. 00001A40  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  2661. 00001A44  65EC                     bcs        -0x12 /* 00001A32 */
  2662. label00001A46:
  2663. 00001A46  2F0C                     move.l     -[A7], A4
  2664. 00001A48  4267                     clr.w      -[A7]
  2665. 00001A4A  A95D                     syscall    HiliteControl
  2666. label00001A4C:
  2667. 00001A4C  4227                     clr.b      -[A7]
  2668. 00001A4E  A973                     syscall    StillDown
  2669. 00001A50  4A1F                     tst.b      [A7]+
  2670. 00001A52  6600 FF60                bne        -0x9E /* 000019B4 */
  2671. 00001A56  4A03                     tst.b      D3
  2672. 00001A58  6600 FF5A                bne        -0xA4 /* 000019B4 */
  2673. 00001A5C  4CDF 10F8                movem.l    D3,D4,D5,D6,D7,A4, [A7]+
  2674. 00001A60  4E5E                     unlink     A6
  2675. 00001A62  4E75                     rts
  2676. 00001A64  9048                     sub.w      D0, A0
  2677. 00001A66  616E                     bsr        +0x70 /* 00001AD6 */
  2678. 00001A68  646C                     bcc        +0x6E /* 00001AD6 */
  2679. 00001A6A  6557                     bcs        +0x59 /* 00001AC3 */
  2680. 00001A6C  5363                     subq.w     -[A3], 1
  2681. 00001A6E  726F                     moveq.l    D1, 0x6F
  2682. 00001A70  6C6C                     bge        +0x6E /* 00001ADE */
  2683. 00001A72  4261                     clr.w      -[A1]
  2684. 00001A74  7200                     moveq.l    D1, 0x00
  2685. 00001A76  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2686. // begin alternate branch 00001A78-00001A7C
  2687. fn00001A78:
  2688. 00001A78  4E56 FFFE                link       A6, -0x0002
  2689. // end alternate branch 00001A78-00001A7C
  2690. fn00001A78: // (misaligned)
  2691. 00001A7A  FFFE                     .invalid   <<F/7/7>>
  2692. 00001A7C  4EAD 03A2                jsr        [A5 + 0x3A2 /* export_112 */]
  2693. 00001A80  4267                     clr.w      -[A7]
  2694. 00001A82  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  2695. 00001A86  4A5F                     tst.w      [A7]+
  2696. 00001A88  662C                     bne        +0x2E /* 00001AB6 */
  2697. 00001A8A  4AAD EA0C                tst.l      [A5 - 0x15F4]
  2698. 00001A8E  6612                     bne        +0x14 /* 00001AA2 */
  2699. 00001A90  7078                     moveq.l    D0, 0x78
  2700. 00001A92  A122                     syscall    NewHandle, flags=1
  2701. 00001A94  2B48 EA0C                move.l     [A5 - 0x15F4], A0
  2702. 00001A98  A029                     syscall    HLock
  2703. 00001A9A  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2704. 00001A9E  4EAD 037A                jsr        [A5 + 0x37A /* export_107 */]
  2705. label00001AA2:
  2706. 00001AA2  4227                     clr.b      -[A7]
  2707. 00001AA4  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2708. 00001AA8  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  2709. 00001AAC  1D5F FFFF                move.b     [A6 - 0x1], [A7]+
  2710. 00001AB0  4EAD 03AA                jsr        [A5 + 0x3AA /* export_113 */]
  2711. 00001AB4  6006                     bra        +0x8 /* 00001ABC */
  2712. label00001AB6:
  2713. 00001AB6  3F3C 0001                move.w     -[A7], 0x1
  2714. 00001ABA  A9C8                     syscall    SysBeep
  2715. label00001ABC:
  2716. 00001ABC  4E5E                     unlink     A6
  2717. 00001ABE  4E75                     rts
  2718. 00001AC0  8950                     or.w       [A0], D4
  2719. 00001AC2  6167                     bsr        +0x69 /* 00001B2B */
  2720. 00001AC4  6553                     bcs        +0x55 /* 00001B19 */
  2721. 00001AC6  6574                     bcs        +0x76 /* 00001B3C */
  2722. 00001AC8  7570                     moveq.l    D2, 0x70
  2723. 00001ACA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2724. 00001ACE  FFFE                     .invalid   <<F/7/7>>
  2725. 00001AD0  4EAD 03A2                jsr        [A5 + 0x3A2 /* export_112 */]
  2726. 00001AD4  4267                     clr.w      -[A7]
  2727. fn00001AD6:
  2728. 00001AD6  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  2729. 00001ADA  4A5F                     tst.w      [A7]+
  2730. 00001ADC  662C                     bne        +0x2E /* 00001B0A */
  2731. label00001ADE:
  2732. 00001ADE  4AAD EA0C                tst.l      [A5 - 0x15F4]
  2733. 00001AE2  6612                     bne        +0x14 /* 00001AF6 */
  2734. 00001AE4  7078                     moveq.l    D0, 0x78
  2735. 00001AE6  A122                     syscall    NewHandle, flags=1
  2736. 00001AE8  2B48 EA0C                move.l     [A5 - 0x15F4], A0
  2737. 00001AEC  A029                     syscall    HLock
  2738. 00001AEE  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2739. 00001AF2  4EAD 037A                jsr        [A5 + 0x37A /* export_107 */]
  2740. label00001AF6:
  2741. 00001AF6  4227                     clr.b      -[A7]
  2742. 00001AF8  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2743. 00001AFC  4EAD 038A                jsr        [A5 + 0x38A /* export_109 */]
  2744. 00001B00  1D5F FFFF                move.b     [A6 - 0x1], [A7]+
  2745. 00001B04  4EAD 03AA                jsr        [A5 + 0x3AA /* export_113 */]
  2746. 00001B08  6006                     bra        +0x8 /* 00001B10 */
  2747. label00001B0A:
  2748. 00001B0A  3F3C 0001                move.w     -[A7], 0x1
  2749. 00001B0E  A9C8                     syscall    SysBeep
  2750. label00001B10:
  2751. 00001B10  4E5E                     unlink     A6
  2752. 00001B12  4E75                     rts
  2753. 00001B14  8D50                     or.w       [A0], D6
  2754. 00001B16  7269                     moveq.l    D1, 0x69
  2755. 00001B18  6E74                     bgt        +0x76 /* 00001B8E */
  2756. 00001B1A  4A6F 6253                tst.w      [A7 + 0x6253]
  2757. 00001B1E  6574                     bcs        +0x76 /* 00001B94 */
  2758. 00001B20  7570                     moveq.l    D2, 0x70
  2759. 00001B22  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2760. export_15: // at 00001B24 (misaligned)
  2761. 00001B26  0000 2F0C                ori.b      D0, 0xC
  2762. 00001B2A  286E 0008                movea.l    A4, [A6 + 0x8]
  2763. 00001B2E  4EAD 03A2                jsr        [A5 + 0x3A2 /* export_112 */]
  2764. 00001B32  4267                     clr.w      -[A7]
  2765. 00001B34  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  2766. 00001B38  4A5F                     tst.w      [A7]+
  2767. 00001B3A  666A                     bne        +0x6C /* 00001BA6 */
  2768. label00001B3C:
  2769. 00001B3C  422D EA10                clr.b      [A5 - 0x15F0]
  2770. 00001B40  4AAD EA0C                tst.l      [A5 - 0x15F4]
  2771. 00001B44  6612                     bne        +0x14 /* 00001B58 */
  2772. 00001B46  7078                     moveq.l    D0, 0x78
  2773. 00001B48  A122                     syscall    NewHandle, flags=1
  2774. 00001B4A  2B48 EA0C                move.l     [A5 - 0x15F4], A0
  2775. 00001B4E  A029                     syscall    HLock
  2776. 00001B50  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2777. 00001B54  4EAD 037A                jsr        [A5 + 0x37A /* export_107 */]
  2778. label00001B58:
  2779. 00001B58  4227                     clr.b      -[A7]
  2780. 00001B5A  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2781. 00001B5E  4EAD 038A                jsr        [A5 + 0x38A /* export_109 */]
  2782. 00001B62  189F                     move.b     [A4], [A7]+
  2783. 00001B64  206D EA0C                movea.l    A0, [A5 - 0x15F4]
  2784. 00001B68  2050                     movea.l    A0, [A0]
  2785. 00001B6A  3B68 0042 EA3C           move.w     [A5 - 0x15C4], [A0 + 0x42]
  2786. 00001B70  4A14                     tst.b      [A4]
  2787. 00001B72  57C0                     seq        D0
  2788. 00001B74  4400                     neg.b      D0
  2789. 00001B76  1880                     move.b     [A4], D0
  2790. 00001B78  42AD EA1E                clr.l      [A5 - 0x15E2]
  2791. 00001B7C  4A14                     tst.b      [A4]
  2792. 00001B7E  6630                     bne        +0x32 /* 00001BB0 */
  2793. 00001B80  1B7C 0001 EA10           move.b     [A5 - 0x15F0], 0x1
  2794. 00001B86  3B7C 0001 EA12           move.w     [A5 - 0x15EE], 0x1
  2795. 00001B8C  3B7C 0001 EA14           move.w     [A5 - 0x15EC], 0x1
  2796. // begin alternate branch 00001B8E-00001B92
  2797. label00001B8E:
  2798. 00001B8E  0001 EA14                ori.b      D1, 0x14
  2799. // end alternate branch 00001B8E-00001B92
  2800. label00001B8E: // (misaligned)
  2801. 00001B92  42A7                     clr.l      -[A7]
  2802. label00001B94:
  2803. 00001B94  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2804. 00001B98  42A7                     clr.l      -[A7]
  2805. 00001B9A  42A7                     clr.l      -[A7]
  2806. 00001B9C  4EAD 036A                jsr        [A5 + 0x36A /* export_105 */]
  2807. 00001BA0  2B5F EA1E                move.l     [A5 - 0x15E2], [A7]+
  2808. 00001BA4  600A                     bra        +0xC /* 00001BB0 */
  2809. label00001BA6:
  2810. 00001BA6  3F3C 0001                move.w     -[A7], 0x1
  2811. 00001BAA  A9C8                     syscall    SysBeep
  2812. 00001BAC  18BC 0001                move.b     [A4], 0x1
  2813. label00001BB0:
  2814. 00001BB0  285F                     movea.l    A4, [A7]+
  2815. 00001BB2  4E5E                     unlink     A6
  2816. 00001BB4  4E75                     rts
  2817. 00001BB6  8E4F                     or.w       D7, A7
  2818. 00001BB8  7065                     moveq.l    D0, 0x65
  2819. 00001BBA  6E54                     bgt        +0x56 /* 00001C10 */
  2820. 00001BBC  6865                     bvc        +0x67 /* 00001C23 */
  2821. 00001BBE  5072 696E                addq.w     <<invalid full ext with IS == 1 and I/IS == 6>>, 8
  2822. 00001BC2  7465                     moveq.l    D2, 0x65
  2823. 00001BC4  7200                     moveq.l    D1, 0x00
  2824. 00001BC6  0000 4AAD                ori.b      D0, 0xAD
  2825. export_16: // at 00001BC8 (misaligned)
  2826. 00001BCA  EA1E                     ror        D6.b, 5
  2827. 00001BCC  670C                     beq        +0xE /* 00001BDA */
  2828. 00001BCE  2F2D EA1E                move.l     -[A7], [A5 - 0x15E2]
  2829. 00001BD2  4EAD 0372                jsr        [A5 + 0x372 /* export_106 */]
  2830. 00001BD6  42AD EA1E                clr.l      [A5 - 0x15E2]
  2831. label00001BDA:
  2832. 00001BDA  4AAD EA0C                tst.l      [A5 - 0x15F4]
  2833. 00001BDE  672A                     beq        +0x2C /* 00001C0A */
  2834. 00001BE0  206D EA0C                movea.l    A0, [A5 - 0x15F4]
  2835. 00001BE4  2050                     movea.l    A0, [A0]
  2836. 00001BE6  0C28 0001 0044           cmpi.b     [A0 + 0x44], 0x1
  2837. 00001BEC  661C                     bne        +0x1E /* 00001C0A */
  2838. 00001BEE  4267                     clr.w      -[A7]
  2839. 00001BF0  4EAD 039A                jsr        [A5 + 0x39A /* export_111 */]
  2840. 00001BF4  4A5F                     tst.w      [A7]+
  2841. 00001BF6  6612                     bne        +0x14 /* 00001C0A */
  2842. 00001BF8  2F2D EA0C                move.l     -[A7], [A5 - 0x15F4]
  2843. 00001BFC  42A7                     clr.l      -[A7]
  2844. 00001BFE  42A7                     clr.l      -[A7]
  2845. 00001C00  42A7                     clr.l      -[A7]
  2846. 00001C02  486D EA22                pea.l      [A5 - 0x15DE]
  2847. 00001C06  4EAD 0392                jsr        [A5 + 0x392 /* export_110 */]
  2848. label00001C0A:
  2849. 00001C0A  4E75                     rts
  2850. 00001C0C  4E56 FFF2                link       A6, -0x000E
  2851. label00001C10:
  2852. 00001C10  2F0C                     move.l     -[A7], A4
  2853. 00001C12  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  2854. 00001C16  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  2855. 00001C1A  486E FFF6                pea.l      [A6 - 0xA]
  2856. 00001C1E  486E FFF2                pea.l      [A6 - 0xE]
  2857. 00001C22  486E FFF8                pea.l      [A6 - 0x8]
  2858. 00001C26  A98D                     syscall    GetDialogItem/GetDItem
  2859. 00001C28  286E FFF2                movea.l    A4, [A6 - 0xE]
  2860. 00001C2C  4A2E 000E                tst.b      [A6 + 0xE]
  2861. 00001C30  6718                     beq        +0x1A /* 00001C4A */
  2862. 00001C32  2F0C                     move.l     -[A7], A4
  2863. 00001C34  302E FFFE                move.w     D0, [A6 - 0x2]
  2864. 00001C38  906E FFFA                sub.w      D0, [A6 - 0x6]
  2865. 00001C3C  3F00                     move.w     -[A7], D0
  2866. 00001C3E  302E FFFC                move.w     D0, [A6 - 0x4]
  2867. 00001C42  906E FFF8                sub.w      D0, [A6 - 0x8]
  2868. 00001C46  3F00                     move.w     -[A7], D0
  2869. 00001C48  A95C                     syscall    SizeControl
  2870. label00001C4A:
  2871. 00001C4A  206E 0016                movea.l    A0, [A6 + 0x16]
  2872. 00001C4E  20AE FFF8                move.l     [A0], [A6 - 0x8]
  2873. 00001C52  216E FFFC 0004           move.l     [A0 + 0x4], [A6 - 0x4]
  2874. 00001C58  4AAE 001A                tst.l      [A6 + 0x1A]
  2875. 00001C5C  6708                     beq        +0xA /* 00001C66 */
  2876. 00001C5E  2054                     movea.l    A0, [A4]
  2877. 00001C60  216E 001A 001C           move.l     [A0 + 0x1C], [A6 + 0x1A]
  2878. label00001C66:
  2879. 00001C66  4A6E 001E                tst.w      [A6 + 0x1E]
  2880. 00001C6A  6718                     beq        +0x1A /* 00001C84 */
  2881. 00001C6C  486D E630                pea.l      [A5 - 0x19D0]
  2882. 00001C70  3F2E 001E                move.w     -[A7], [A6 + 0x1E]
  2883. 00001C74  3F3C 0001                move.w     -[A7], 0x1
  2884. 00001C78  4EBA E940                jsr        [PC - 0x16C0 /* 000005BA */]
  2885. 00001C7C  2F0C                     move.l     -[A7], A4
  2886. 00001C7E  486D E630                pea.l      [A5 - 0x19D0]
  2887. 00001C82  A95F                     syscall    SetControlTitle/SetCTitle
  2888. label00001C84:
  2889. 00001C84  4A2E 0012                tst.b      [A6 + 0x12]
  2890. 00001C88  6708                     beq        +0xA /* 00001C92 */
  2891. 00001C8A  2F0C                     move.l     -[A7], A4
  2892. 00001C8C  4267                     clr.w      -[A7]
  2893. 00001C8E  A95D                     syscall    HiliteControl
  2894. 00001C90  6008                     bra        +0xA /* 00001C9A */
  2895. label00001C92:
  2896. 00001C92  2F0C                     move.l     -[A7], A4
  2897. 00001C94  3F3C 00FF                move.w     -[A7], 0xFF
  2898. 00001C98  A95D                     syscall    HiliteControl
  2899. label00001C9A:
  2900. 00001C9A  4A2E 0014                tst.b      [A6 + 0x14]
  2901. 00001C9E  6708                     beq        +0xA /* 00001CA8 */
  2902. 00001CA0  2F0C                     move.l     -[A7], A4
  2903. 00001CA2  3F3C 3039                move.w     -[A7], 0x3039 /* '09' */
  2904. 00001CA6  A965                     syscall    SetControlMaximum/SetMaxCtl
  2905. label00001CA8:
  2906. 00001CA8  4A2E 0010                tst.b      [A6 + 0x10]
  2907. 00001CAC  6704                     beq        +0x6 /* 00001CB2 */
  2908. 00001CAE  2F0C                     move.l     -[A7], A4
  2909. 00001CB0  A957                     syscall    ShowControl
  2910. label00001CB2:
  2911. 00001CB2  285F                     movea.l    A4, [A7]+
  2912. 00001CB4  4E5E                     unlink     A6
  2913. 00001CB6  4E75                     rts
  2914. 00001CB8  8C53                     or.w       D6, [A3]
  2915. 00001CBA  6574                     bcs        +0x76 /* 00001D30 */
  2916. 00001CBC  7570                     moveq.l    D2, 0x70
  2917. 00001CBE  5468 6549                addq.w     [A0 + 0x6549], 2
  2918. 00001CC2  7465                     moveq.l    D2, 0x65
  2919. 00001CC4  6D00 0000                blt        +0x2 /* 00001CC6 */
  2920. // begin alternate branch 00001CC6-00001CCC
  2921. label00001CC6:
  2922. 00001CC6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2923. 00001CCA  FFE8                     .invalid   <<F/7/7>>
  2924. // end alternate branch 00001CC6-00001CCC
  2925. label00001CC6: // (misaligned)
  2926. 00001CC8  4E56 FFE8                link       A6, -0x0018
  2927. 00001CCC  48E7 0018                movem.l    -[A7], A3,A4
  2928. 00001CD0  286E 0008                movea.l    A4, [A6 + 0x8]
  2929. 00001CD4  200C                     move.l     D0, A4
  2930. 00001CD6  6700 00A6                beq        +0xA8 /* 00001D7E */
  2931. 00001CDA  0C2D 0001 E730           cmpi.b     [A5 - 0x18D0], 0x1
  2932. 00001CE0  6600 009C                bne        +0x9E /* 00001D7E */
  2933. 00001CE4  486E FFF8                pea.l      [A6 - 0x8]
  2934. 00001CE8  2F3C 8300 8300           move.l     -[A7], 0x83008300
  2935. 00001CEE  2F3C 7D00 7D00           move.l     -[A7], 0x7D007D00 /* '}\0}\0' */
  2936. 00001CF4  A8A7                     syscall    SetRect
  2937. 00001CF6  42A7                     clr.l      -[A7]
  2938. 00001CF8  486E FFF8                pea.l      [A6 - 0x8]
  2939. 00001CFC  AA27                     syscall    GetMaxDevice
  2940. 00001CFE  265F                     movea.l    A3, [A7]+
  2941. 00001D00  200B                     move.l     D0, A3
  2942. 00001D02  677A                     beq        +0x7C /* 00001D7E */
  2943. 00001D04  2053                     movea.l    A0, [A3]
  2944. 00001D06  2D68 0022 FFF0           move.l     [A6 - 0x10], [A0 + 0x22]
  2945. 00001D0C  2D68 0026 FFF4           move.l     [A6 - 0xC], [A0 + 0x26]
  2946. 00001D12  2D6C 0010 FFE8           move.l     [A6 - 0x18], [A4 + 0x10]
  2947. 00001D18  2D6C 0014 FFEC           move.l     [A6 - 0x14], [A4 + 0x14]
  2948. 00001D1E  302E FFEC                move.w     D0, [A6 - 0x14]
  2949. 00001D22  906E FFE8                sub.w      D0, [A6 - 0x18]
  2950. 00001D26  48C0                     ext.l      D0
  2951. 00001D28  81FC 0002                divs.w     D0, 0x2
  2952. 00001D2C  322E FFF4                move.w     D1, [A6 - 0xC]
  2953. label00001D30:
  2954. 00001D30  926E FFF0                sub.w      D1, [A6 - 0x10]
  2955. 00001D34  48C1                     ext.l      D1
  2956. 00001D36  83FC 0002                divs.w     D1, 0x2
  2957. 00001D3A  D26E FFF0                add.w      D1, [A6 - 0x10]
  2958. 00001D3E  9240                     sub.w      D1, D0
  2959. 00001D40  3D41 FFF8                move.w     [A6 - 0x8], D1
  2960. 00001D44  302E FFEE                move.w     D0, [A6 - 0x12]
  2961. 00001D48  906E FFEA                sub.w      D0, [A6 - 0x16]
  2962. 00001D4C  48C0                     ext.l      D0
  2963. 00001D4E  81FC 0002                divs.w     D0, 0x2
  2964. 00001D52  322E FFF6                move.w     D1, [A6 - 0xA]
  2965. 00001D56  926E FFF2                sub.w      D1, [A6 - 0xE]
  2966. 00001D5A  48C1                     ext.l      D1
  2967. 00001D5C  83FC 0002                divs.w     D1, 0x2
  2968. 00001D60  D26E FFF2                add.w      D1, [A6 - 0xE]
  2969. 00001D64  9240                     sub.w      D1, D0
  2970. 00001D66  3D41 FFFA                move.w     [A6 - 0x6], D1
  2971. 00001D6A  2F0C                     move.l     -[A7], A4
  2972. 00001D6C  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  2973. 00001D70  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  2974. 00001D74  1F3C 0001                move.b     -[A7], 0x1
  2975. 00001D78  A91B                     syscall    MoveWindow
  2976. 00001D7A  2F0C                     move.l     -[A7], A4
  2977. 00001D7C  A873                     syscall    SetPort
  2978. label00001D7E:
  2979. 00001D7E  4CDF 1800                movem.l    A3,A4, [A7]+
  2980. 00001D82  4E5E                     unlink     A6
  2981. 00001D84  4E75                     rts
  2982. 00001D86  9343                     subx.w     D1, D3
  2983. 00001D88  656E                     bcs        +0x70 /* 00001DF8 */
  2984. 00001D8A  7465                     moveq.l    D2, 0x65
  2985. 00001D8C  724F                     moveq.l    D1, 0x4F
  2986. 00001D8E  6E43                     bgt        +0x45 /* 00001DD3 */
  2987. 00001D90  6F6C                     ble        +0x6E /* 00001DFE */
  2988. 00001D92  6F72                     ble        +0x74 /* 00001E06 */
  2989. 00001D94  5363                     subq.w     -[A3], 1
  2990. 00001D96  7265                     moveq.l    D1, 0x65
  2991. 00001D98  656E                     bcs        +0x70 /* 00001E08 */
  2992. 00001D9A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2993. export_17: // at 00001D9C (misaligned)
  2994. 00001D9E  FFF8                     .invalid   <<F/7/7>>
  2995. 00001DA0  2F0C                     move.l     -[A7], A4
  2996. 00001DA2  206E 0008                movea.l    A0, [A6 + 0x8]
  2997. 00001DA6  20AD E570                move.l     [A0], [A5 - 0x1A90]
  2998. 00001DAA  216D E574 0004           move.l     [A0 + 0x4], [A5 - 0x1A8C]
  2999. 00001DB0  99CC                     sub.l      A4, A4
  3000. 00001DB2  0C2D 0001 E730           cmpi.b     [A5 - 0x18D0], 0x1
  3001. 00001DB8  6630                     bne        +0x32 /* 00001DEA */
  3002. 00001DBA  486E FFF8                pea.l      [A6 - 0x8]
  3003. 00001DBE  2F3C 8300 8300           move.l     -[A7], 0x83008300
  3004. 00001DC4  2F3C 7D00 7D00           move.l     -[A7], 0x7D007D00 /* '}\0}\0' */
  3005. 00001DCA  A8A7                     syscall    SetRect
  3006. 00001DCC  42A7                     clr.l      -[A7]
  3007. 00001DCE  486E FFF8                pea.l      [A6 - 0x8]
  3008. 00001DD2  AA27                     syscall    GetMaxDevice
  3009. 00001DD4  285F                     movea.l    A4, [A7]+
  3010. 00001DD6  200C                     move.l     D0, A4
  3011. 00001DD8  6710                     beq        +0x12 /* 00001DEA */
  3012. 00001DDA  2054                     movea.l    A0, [A4]
  3013. 00001DDC  226E 0008                movea.l    A1, [A6 + 0x8]
  3014. 00001DE0  22A8 0022                move.l     [A1], [A0 + 0x22]
  3015. 00001DE4  2368 0026 0004           move.l     [A1 + 0x4], [A0 + 0x26]
  3016. label00001DEA:
  3017. 00001DEA  285F                     movea.l    A4, [A7]+
  3018. 00001DEC  4E5E                     unlink     A6
  3019. 00001DEE  4E75                     rts
  3020. 00001DF0  9947                     subx.w     D4, D7
  3021. 00001DF2  6574                     bcs        +0x76 /* 00001E68 */
  3022. 00001DF4  4465                     neg.w      -[A5]
  3023. 00001DF6  6570                     bcs        +0x72 /* 00001E68 */
  3024. label00001DF8:
  3025. 00001DF8  6573                     bcs        +0x75 /* 00001E6D */
  3026. 00001DFA  7443                     moveq.l    D2, 0x43
  3027. 00001DFC  6F6C                     ble        +0x6E /* 00001E6A */
  3028. label00001DFE:
  3029. 00001DFE  6F72                     ble        +0x74 /* 00001E72 */
  3030. 00001E00  5363                     subq.w     -[A3], 1
  3031. 00001E02  7265                     moveq.l    D1, 0x65
  3032. 00001E04  656E                     bcs        +0x70 /* 00001E74 */
  3033. label00001E06:
  3034. 00001E06  5265                     addq.w     -[A5], 1
  3035. label00001E08:
  3036. 00001E08  6374                     bls        +0x76 /* 00001E7E */
  3037. 00001E0A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3038. // begin alternate branch 00001E0C-00001E16
  3039. fn00001E0C:
  3040. 00001E0C  4E56 FEE4                link       A6, -0x011C
  3041. 00001E10  4EAD 03B2                jsr        [A5 + 0x3B2 /* export_114 */]
  3042. 00001E14  4E5E                     unlink     A6
  3043. // end alternate branch 00001E0C-00001E16
  3044. fn00001E0C: // (misaligned)
  3045. 00001E0E  FEE4 4EAD                .extension 0xEE4 <<F/2-3/7>> // unimplemented
  3046. 00001E12  03B2 4E5E                bclr       [A2 + D4 * 8 + 0x5E], D1
  3047. 00001E16  4E75                     rts
  3048. 00001E18  8A49                     or.w       D5, A1
  3049. 00001E1A  5F50                     subq.w     [A0], 7
  3050. 00001E1C  445F                     neg.w      [A7]+
  3051. 00001E1E  4162                     chk.w      D0, -[A2]
  3052. 00001E20  6F75                     ble        +0x77 /* 00001E97 */
  3053. 00001E22  7400                     moveq.l    D2, 0x00
  3054. 00001E24  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3055. export_18: // at 00001E26 (misaligned)
  3056. 00001E28  FFEA                     .invalid   <<F/7/7>>
  3057. 00001E2A  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  3058. 00001E2E  2E2E 0008                move.l     D7, [A6 + 0x8]
  3059. 00001E32  286E 0010                movea.l    A4, [A6 + 0x10]
  3060. 00001E36  266E 000C                movea.l    A3, [A6 + 0xC]
  3061. 00001E3A  2F07                     move.l     -[A7], D7
  3062. 00001E3C  2F0B                     move.l     -[A7], A3
  3063. 00001E3E  2F0C                     move.l     -[A7], A4
  3064. 00001E40  4EAD 03BA                jsr        [A5 + 0x3BA /* export_115 */]
  3065. 00001E44  1600                     move.b     D3, D0
  3066. 00001E46  0C53 0006                cmpi.w     [A3], 0x6
  3067. 00001E4A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3068. 00001E4E  6616                     bne        +0x18 /* 00001E66 */
  3069. 00001E50  B9EB 0002                cmpa.l     A4, [A3 + 0x2]
  3070. 00001E54  6610                     bne        +0x12 /* 00001E66 */
  3071. 00001E56  2F0C                     move.l     -[A7], A4
  3072. 00001E58  A922                     syscall    BeginUpdate
  3073. 00001E5A  2F0C                     move.l     -[A7], A4
  3074. 00001E5C  A981                     syscall    DrawDialog
  3075. 00001E5E  7601                     moveq.l    D3, 0x01
  3076. 00001E60  2047                     movea.l    A0, D7
  3077. 00001E62  30BC 7D00                move.w     [A0], 0x7D00 /* '}\0' */
  3078. label00001E66:
  3079. 00001E66  0C53 0001                cmpi.w     [A3], 0x1
  3080. // begin alternate branch 00001E68-00001E6C
  3081. label00001E68:
  3082. 00001E68  0001 660C                ori.b      D1, 0xC
  3083. // end alternate branch 00001E68-00001E6C
  3084. label00001E68: // (misaligned)
  3085. label00001E6A:
  3086. 00001E6A  660C                     bne        +0xE /* 00001E78 */
  3087. 00001E6C  2D6B 000A FFFC           move.l     [A6 - 0x4], [A3 + 0xA]
  3088. label00001E72:
  3089. 00001E72  486E FFFC                pea.l      [A6 - 0x4]
  3090. // begin alternate branch 00001E74-00001E76
  3091. label00001E74:
  3092. 00001E74  FFFC                     .invalid   <<F/7/7>>
  3093. // end alternate branch 00001E74-00001E76
  3094. label00001E74: // (misaligned)
  3095. 00001E76  A871                     syscall    GlobalToLocal
  3096. label00001E78:
  3097. 00001E78  0C53 0003                cmpi.w     [A3], 0x3
  3098. 00001E7C  6600 00B4                bne        +0xB6 /* 00001F32 */
  3099. // begin alternate branch 00001E7E-00001E88
  3100. label00001E7E:
  3101. 00001E7E  00B4 3C2B 0004 0246      ori.l      [A4 + D0.w * 2 + 0x46], 0x3C2B0004
  3102. 00001E86  00FF                     .incomplete
  3103. // end alternate branch 00001E7E-00001E88
  3104. label00001E7E: // (misaligned)
  3105. 00001E80  3C2B 0004                move.w     D6, [A3 + 0x4]
  3106. 00001E84  0246 00FF                andi.w     D6, 0xFF
  3107. 00001E88  1806                     move.b     D4, D6
  3108. 00001E8A  082B 0000 000E           btst.b     [A3 + 0xE], 0x0
  3109. 00001E90  56C0                     sne        D0
  3110. 00001E92  4400                     neg.b      D0
  3111. 00001E94  1D40 FFEB                move.b     [A6 - 0x15], D0
  3112. 00001E98  5300                     subq.b     D0, 1
  3113. 00001E9A  6644                     bne        +0x46 /* 00001EE0 */
  3114. 00001E9C  0C04 0078                cmpi.b     D4, 0x78 /* 'x' */
  3115. 00001EA0  6706                     beq        +0x8 /* 00001EA8 */
  3116. 00001EA2  0C04 0058                cmpi.b     D4, 0x58 /* 'X' */
  3117. 00001EA6  660C                     bne        +0xE /* 00001EB4 */
  3118. label00001EA8:
  3119. 00001EA8  2F0C                     move.l     -[A7], A4
  3120. 00001EAA  4EBA E6E4                jsr        [PC - 0x191C /* 00000590 */]
  3121. 00001EAE  7601                     moveq.l    D3, 0x01
  3122. 00001EB0  6000 0080                bra        +0x82 /* 00001F32 */
  3123. label00001EB4:
  3124. 00001EB4  0C04 0063                cmpi.b     D4, 0x63 /* 'c' */
  3125. 00001EB8  6706                     beq        +0x8 /* 00001EC0 */
  3126. 00001EBA  0C04 0043                cmpi.b     D4, 0x43 /* 'C' */
  3127. 00001EBE  660A                     bne        +0xC /* 00001ECA */
  3128. label00001EC0:
  3129. 00001EC0  2F0C                     move.l     -[A7], A4
  3130. 00001EC2  4EBA E6D2                jsr        [PC - 0x192E /* 00000596 */]
  3131. 00001EC6  7601                     moveq.l    D3, 0x01
  3132. 00001EC8  6068                     bra        +0x6A /* 00001F32 */
  3133. label00001ECA:
  3134. 00001ECA  0C04 0076                cmpi.b     D4, 0x76 /* 'v' */
  3135. 00001ECE  6706                     beq        +0x8 /* 00001ED6 */
  3136. 00001ED0  0C04 0056                cmpi.b     D4, 0x56 /* 'V' */
  3137. 00001ED4  665C                     bne        +0x5E /* 00001F32 */
  3138. label00001ED6:
  3139. 00001ED6  2F0C                     move.l     -[A7], A4
  3140. 00001ED8  4EBA E6AE                jsr        [PC - 0x1952 /* 00000588 */]
  3141. 00001EDC  7601                     moveq.l    D3, 0x01
  3142. 00001EDE  6052                     bra        +0x54 /* 00001F32 */
  3143. label00001EE0:
  3144. 00001EE0  0C46 000D                cmpi.w     D6, 0xD /* '\r' */
  3145. 00001EE4  6706                     beq        +0x8 /* 00001EEC */
  3146. 00001EE6  0C46 0003                cmpi.w     D6, 0x3
  3147. 00001EEA  6646                     bne        +0x48 /* 00001F32 */
  3148. label00001EEC:
  3149. 00001EEC  7601                     moveq.l    D3, 0x01
  3150. 00001EEE  2047                     movea.l    A0, D7
  3151. 00001EF0  30BC 0001                move.w     [A0], 0x1
  3152. 00001EF4  2F0C                     move.l     -[A7], A4
  3153. 00001EF6  2047                     movea.l    A0, D7
  3154. 00001EF8  3F10                     move.w     -[A7], [A0]
  3155. 00001EFA  486E FFF2                pea.l      [A6 - 0xE]
  3156. 00001EFE  486E FFEE                pea.l      [A6 - 0x12]
  3157. 00001F02  486E FFF4                pea.l      [A6 - 0xC]
  3158. 00001F06  A98D                     syscall    GetDialogItem/GetDItem
  3159. 00001F08  0C6E 0004 FFF2           cmpi.w     [A6 - 0xE], 0x4
  3160. 00001F0E  6622                     bne        +0x24 /* 00001F32 */
  3161. 00001F10  246E FFEE                movea.l    A2, [A6 - 0x12]
  3162. 00001F14  2F0A                     move.l     -[A7], A2
  3163. 00001F16  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  3164. 00001F1A  A95D                     syscall    HiliteControl
  3165. 00001F1C  42A7                     clr.l      -[A7]
  3166. 00001F1E  A975                     syscall    TickCount
  3167. 00001F20  7A0F                     moveq.l    D5, 0x0F
  3168. 00001F22  DA9F                     add.l      D5, [A7]+
  3169. label00001F24:
  3170. 00001F24  42A7                     clr.l      -[A7]
  3171. 00001F26  A975                     syscall    TickCount
  3172. 00001F28  BA9F                     cmp.l      D5, [A7]+
  3173. 00001F2A  62F8                     bhi        -0x6 /* 00001F24 */
  3174. 00001F2C  2F0A                     move.l     -[A7], A2
  3175. 00001F2E  4267                     clr.w      -[A7]
  3176. 00001F30  A95D                     syscall    HiliteControl
  3177. label00001F32:
  3178. 00001F32  1D43 0014                move.b     [A6 + 0x14], D3
  3179. 00001F36  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  3180. 00001F3A  4E5E                     unlink     A6
  3181. 00001F3C  205F                     movea.l    A0, [A7]+
  3182. 00001F3E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3183. 00001F42  4ED0                     jmp        [A0]
  3184. 00001F44  884D                     or.w       D4, A5
  3185. 00001F46  7946                     moveq.l    D4, 0x46
  3186. 00001F48  696C                     bvs        +0x6E /* 00001FB6 */
  3187. 00001F4A  7465                     moveq.l    D2, 0x65
  3188. 00001F4C  7200                     moveq.l    D1, 0x00
  3189. 00001F4E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3190. // begin alternate branch 00001F50-00001F54
  3191. fn00001F50:
  3192. 00001F50  4E56 FFDC                link       A6, -0x0024
  3193. // end alternate branch 00001F50-00001F54
  3194. fn00001F50: // (misaligned)
  3195. 00001F52  FFDC                     .invalid   <<F/7/7>>
  3196. 00001F54  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3197. 00001F58  A873                     syscall    SetPort
  3198. 00001F5A  2D6D E628 FFF8           move.l     [A6 - 0x8], [A5 - 0x19D8]
  3199. 00001F60  2D6D E62C FFFC           move.l     [A6 - 0x4], [A5 - 0x19D4]
  3200. 00001F66  4A2D E730                tst.b      [A5 - 0x18D0]
  3201. 00001F6A  6718                     beq        +0x1A /* 00001F84 */
  3202. 00001F6C  486E FFE8                pea.l      [A6 - 0x18]
  3203. 00001F70  AA19                     syscall    GetForeColor
  3204. 00001F72  486E FFE2                pea.l      [A6 - 0x1E]
  3205. 00001F76  AA1A                     syscall    GetBackColor
  3206. 00001F78  486D E73A                pea.l      [A5 - 0x18C6]
  3207. 00001F7C  AA14                     syscall    RGBForeColor
  3208. 00001F7E  486D E740                pea.l      [A5 - 0x18C0]
  3209. 00001F82  AA15                     syscall    RGBBackColor
  3210. label00001F84:
  3211. 00001F84  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3212. 00001F88  3F3C 0001                move.w     -[A7], 0x1
  3213. 00001F8C  486E FFF6                pea.l      [A6 - 0xA]
  3214. 00001F90  486E FFF2                pea.l      [A6 - 0xE]
  3215. 00001F94  486D E628                pea.l      [A5 - 0x19D8]
  3216. 00001F98  A98D                     syscall    GetDialogItem/GetDItem
  3217. 00001F9A  2F3C 0003 0003           move.l     -[A7], 0x30003
  3218. 00001FA0  A89B                     syscall    PenSize
  3219. 00001FA2  486D E628                pea.l      [A5 - 0x19D8]
  3220. 00001FA6  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  3221. 00001FAC  A8A9                     syscall    InsetRect
  3222. 00001FAE  486D E628                pea.l      [A5 - 0x19D8]
  3223. 00001FB2  2F3C 0010 0010           move.l     -[A7], 0x100010
  3224. // begin alternate branch 00001FB6-00001FBA
  3225. label00001FB6:
  3226. 00001FB6  0010 A8B0                ori.b      [A0], 0xB0
  3227. // end alternate branch 00001FB6-00001FBA
  3228. label00001FB6: // (misaligned)
  3229. 00001FB8  A8B0                     syscall    FrameRoundRect
  3230. 00001FBA  2F3C 0001 0001           move.l     -[A7], 0x10001
  3231. 00001FC0  A89B                     syscall    PenSize
  3232. 00001FC2  2F3C 0032 000A           move.l     -[A7], 0x32000A /* '2\0\n' */
  3233. 00001FC8  A893                     syscall    MoveTo
  3234. 00001FCA  2F3C 0032 013F           move.l     -[A7], 0x32013F
  3235. 00001FD0  A891                     syscall    LineTo
  3236. 00001FD2  2B6E FFF8 E628           move.l     [A5 - 0x19D8], [A6 - 0x8]
  3237. 00001FD8  2B6E FFFC E62C           move.l     [A5 - 0x19D4], [A6 - 0x4]
  3238. 00001FDE  4A2D E730                tst.b      [A5 - 0x18D0]
  3239. 00001FE2  670C                     beq        +0xE /* 00001FF0 */
  3240. 00001FE4  486E FFE8                pea.l      [A6 - 0x18]
  3241. 00001FE8  AA14                     syscall    RGBForeColor
  3242. 00001FEA  486E FFE2                pea.l      [A6 - 0x1E]
  3243. 00001FEE  AA15                     syscall    RGBBackColor
  3244. label00001FF0:
  3245. 00001FF0  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3246. 00001FF4  4EAD 03C2                jsr        [A5 + 0x3C2 /* export_116 */]
  3247. 00001FF8  4E5E                     unlink     A6
  3248. 00001FFA  4E75                     rts
  3249. 00001FFC  8E52                     or.w       D7, [A2]
  3250. 00001FFE  6566                     bcs        +0x68 /* 00002066 */
  3251. 00002000  7265                     moveq.l    D1, 0x65
  3252. 00002002  7368                     moveq.l    D1, 0x68
  3253. 00002004  5F44                     subq.w     D4, 7
  3254. 00002006  6961                     bvs        +0x63 /* 00002069 */
  3255. 00002008  6C6F                     bge        +0x71 /* 00002079 */
  3256. 0000200A  6700 0000                beq        +0x2 /* 0000200C */
  3257. // begin alternate branch 0000200C-00002016
  3258. label0000200C:
  3259. 0000200C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3260. fn0000200E: // (misaligned)
  3261. 00002010  FEE0 486D                .extension 0xEE0 <<F/2-3/7>> // unimplemented
  3262. 00002014  EAB2                     roxr       D2, D5
  3263. // end alternate branch 0000200C-00002016
  3264. label0000200C: // (misaligned)
  3265. fn0000200E:
  3266. 0000200E  4E56 FEE0                link       A6, -0x0120
  3267. 00002012  486D EAB2                pea.l      [A5 - 0x154E]
  3268. 00002016  A874                     syscall    GetPort
  3269. 00002018  1B7C 0001 E732           move.b     [A5 - 0x18CE], 0x1
  3270. 0000201E  42A7                     clr.l      -[A7]
  3271. 00002020  3F3C 0100                move.w     -[A7], 0x100
  3272. 00002024  42A7                     clr.l      -[A7]
  3273. 00002026  4878 FFFF                push.l     0xFFFF
  3274. 0000202A  A97C                     syscall    GetNewDialog
  3275. 0000202C  2B5F EAAA                move.l     [A5 - 0x1556], [A7]+
  3276. 00002030  2B6D EAAA EAAE           move.l     [A5 - 0x1552], [A5 - 0x1556]
  3277. 00002036  206D EAAA                movea.l    A0, [A5 - 0x1556]
  3278. 0000203A  2D68 0010 FFF8           move.l     [A6 - 0x8], [A0 + 0x10]
  3279. 00002040  2D68 0014 FFFC           move.l     [A6 - 0x4], [A0 + 0x14]
  3280. 00002046  302E FFFC                move.w     D0, [A6 - 0x4]
  3281. 0000204A  906E FFF8                sub.w      D0, [A6 - 0x8]
  3282. 0000204E  322D E574                move.w     D1, [A5 - 0x1A8C]
  3283. 00002052  926D E570                sub.w      D1, [A5 - 0x1A90]
  3284. 00002056  9240                     sub.w      D1, D0
  3285. 00002058  48C1                     ext.l      D1
  3286. 0000205A  83FC 0002                divs.w     D1, 0x2
  3287. 0000205E  3D41 FFF8                move.w     [A6 - 0x8], D1
  3288. 00002062  302E FFFE                move.w     D0, [A6 - 0x2]
  3289. label00002066:
  3290. 00002066  906E FFFA                sub.w      D0, [A6 - 0x6]
  3291. 0000206A  322D E576                move.w     D1, [A5 - 0x1A8A]
  3292. 0000206E  926D E572                sub.w      D1, [A5 - 0x1A8E]
  3293. 00002072  9240                     sub.w      D1, D0
  3294. 00002074  48C1                     ext.l      D1
  3295. 00002076  83FC 0002                divs.w     D1, 0x2
  3296. 0000207A  3D41 FFFA                move.w     [A6 - 0x6], D1
  3297. 0000207E  2F08                     move.l     -[A7], A0
  3298. 00002080  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  3299. 00002084  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  3300. 00002088  1F3C 0001                move.b     -[A7], 0x1
  3301. 0000208C  A91B                     syscall    MoveWindow
  3302. 0000208E  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3303. 00002092  A873                     syscall    SetPort
  3304. 00002094  422D EAA2                clr.b      [A5 - 0x155E]
  3305. 00002098  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3306. 0000209C  4EAD 03CA                jsr        [A5 + 0x3CA /* export_117 */]
  3307. 000020A0  2EAD EAAA                move.l     [A7], [A5 - 0x1556]
  3308. 000020A4  A915                     syscall    ShowWindow
  3309. 000020A6  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3310. 000020AA  A91F                     syscall    SelectWindow
  3311. label000020AC:
  3312. 000020AC  486D 00B2                pea.l      [A5 + 0xB2 /* export_18 */]
  3313. 000020B0  486E FEEA                pea.l      [A6 - 0x116]
  3314. 000020B4  A991                     syscall    ModalDialog
  3315. 000020B6  486D EAA2                pea.l      [A5 - 0x155E]
  3316. 000020BA  486E FEEA                pea.l      [A6 - 0x116]
  3317. 000020BE  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3318. 000020C2  4EAD 03D2                jsr        [A5 + 0x3D2 /* export_118 */]
  3319. 000020C6  0C6E 7D00 FEEA           cmpi.w     [A6 - 0x116], 0x7D00 /* '}\0' */
  3320. 000020CC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3321. 000020D0  660C                     bne        +0xE /* 000020DE */
  3322. 000020D2  4EBA FE7C                jsr        [PC - 0x184 /* 00001F50 */]
  3323. 000020D6  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3324. 000020DA  A923                     syscall    EndUpdate
  3325. 000020DC  601C                     bra        +0x1E /* 000020FA */
  3326. label000020DE:
  3327. 000020DE  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3328. 000020E2  3F2E FEEA                move.w     -[A7], [A6 - 0x116]
  3329. 000020E6  486E FFF6                pea.l      [A6 - 0xA]
  3330. 000020EA  486E FFF0                pea.l      [A6 - 0x10]
  3331. 000020EE  486E FFF8                pea.l      [A6 - 0x8]
  3332. 000020F2  A98D                     syscall    GetDialogItem/GetDItem
  3333. 000020F4  2D6E FFF0 FEE0           move.l     [A6 - 0x120], [A6 - 0x10]
  3334. label000020FA:
  3335. 000020FA  0C6E 0001 FEEA           cmpi.w     [A6 - 0x116], 0x1
  3336. 00002100  6606                     bne        +0x8 /* 00002108 */
  3337. 00002102  1B7C 0001 EAA2           move.b     [A5 - 0x155E], 0x1
  3338. label00002108:
  3339. 00002108  4A2D EAA2                tst.b      [A5 - 0x155E]
  3340. 0000210C  679E                     beq        -0x60 /* 000020AC */
  3341. 0000210E  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3342. 00002112  4EAD 03DA                jsr        [A5 + 0x3DA /* export_119 */]
  3343. 00002116  2EAD EAB2                move.l     [A7], [A5 - 0x154E]
  3344. 0000211A  A873                     syscall    SetPort
  3345. 0000211C  2F2D EAAA                move.l     -[A7], [A5 - 0x1556]
  3346. 00002120  A983                     syscall    DisposeDialog
  3347. 00002122  422D E732                clr.b      [A5 - 0x18CE]
  3348. 00002126  4E5E                     unlink     A6
  3349. 00002128  4E75                     rts
  3350. 0000212A  894D 5044                pack       -[A4], -[A5], 0x5044
  3351. 0000212E  5F41                     subq.w     D1, 7
  3352. 00002130  626F                     bhi        +0x71 /* 000021A1 */
  3353. 00002132  7574                     moveq.l    D2, 0x74
  3354. 00002134  0000 A934                ori.b      D0, 0x34 /* '4' */
  3355. // begin alternate branch 00002136-00002138
  3356. fn00002136:
  3357. 00002136  A934                     syscall    ClearMenuBar
  3358. // end alternate branch 00002136-00002138
  3359. fn00002136: // (misaligned)
  3360. 00002138  42A7                     clr.l      -[A7]
  3361. 0000213A  3F3C 0100                move.w     -[A7], 0x100
  3362. 0000213E  A9BF                     syscall    GetRMenu
  3363. 00002140  2B5F EA3E                move.l     [A5 - 0x15C2], [A7]+
  3364. 00002144  2F2D EA3E                move.l     -[A7], [A5 - 0x15C2]
  3365. 00002148  4267                     clr.w      -[A7]
  3366. 0000214A  A935                     syscall    InsertMenu
  3367. 0000214C  2F2D EA3E                move.l     -[A7], [A5 - 0x15C2]
  3368. 00002150  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  3369. 00002156  A94D                     syscall    AppendResMenu/AddResMenu
  3370. 00002158  42A7                     clr.l      -[A7]
  3371. 0000215A  3F3C 0101                move.w     -[A7], 0x101
  3372. 0000215E  A9BF                     syscall    GetRMenu
  3373. 00002160  2B5F EA42                move.l     [A5 - 0x15BE], [A7]+
  3374. 00002164  2F2D EA42                move.l     -[A7], [A5 - 0x15BE]
  3375. 00002168  4267                     clr.w      -[A7]
  3376. 0000216A  A935                     syscall    InsertMenu
  3377. 0000216C  42A7                     clr.l      -[A7]
  3378. 0000216E  3F3C 0102                move.w     -[A7], 0x102
  3379. 00002172  A9BF                     syscall    GetRMenu
  3380. 00002174  2B5F EA46                move.l     [A5 - 0x15BA], [A7]+
  3381. 00002178  2F2D EA46                move.l     -[A7], [A5 - 0x15BA]
  3382. 0000217C  4267                     clr.w      -[A7]
  3383. 0000217E  A935                     syscall    InsertMenu
  3384. 00002180  42A7                     clr.l      -[A7]
  3385. 00002182  3F3C 0103                move.w     -[A7], 0x103
  3386. 00002186  A9BF                     syscall    GetRMenu
  3387. 00002188  2B5F EA4A                move.l     [A5 - 0x15B6], [A7]+
  3388. 0000218C  2F2D EA4A                move.l     -[A7], [A5 - 0x15B6]
  3389. 00002190  4267                     clr.w      -[A7]
  3390. 00002192  A935                     syscall    InsertMenu
  3391. 00002194  4EAD 02EA                jsr        [A5 + 0x2EA /* export_89 */]
  3392. 00002198  A937                     syscall    DrawMenuBar
  3393. 0000219A  4E75                     rts
  3394. fn0000219C:
  3395. 0000219C  4E56 FEF8                link       A6, -0x0108
  3396. 000021A0  2F07                     move.l     -[A7], D7
  3397. 000021A2  3E2E 0008                move.w     D7, [A6 + 0x8]
  3398. 000021A6  422E FFFF                clr.b      [A6 - 0x1]
  3399. 000021AA  486E FFFF                pea.l      [A6 - 0x1]
  3400. 000021AE  3F07                     move.w     -[A7], D7
  3401. 000021B0  1F3C 0001                move.b     -[A7], 0x1
  3402. 000021B4  4EAD 02F2                jsr        [A5 + 0x2F2 /* export_90 */]
  3403. 000021B8  4A2E FFFF                tst.b      [A6 - 0x1]
  3404. 000021BC  508F                     addq.l     A7, 8
  3405. 000021BE  6634                     bne        +0x36 /* 000021F4 */
  3406. 000021C0  3007                     move.w     D0, D7
  3407. 000021C2  670C                     beq        +0xE /* 000021D0 */
  3408. 000021C4  6B0A                     bmi        +0xC /* 000021D0 */
  3409. 000021C6  5540                     subq.w     D0, 2
  3410. 000021C8  6A06                     bpl        +0x8 /* 000021D0 */
  3411. 000021CA  4EBA FE42                jsr        [PC - 0x1BE /* 0000200E */]
  3412. 000021CE  6024                     bra        +0x26 /* 000021F4 */
  3413. label000021D0:
  3414. 000021D0  486E FEFA                pea.l      [A6 - 0x106]
  3415. 000021D4  A874                     syscall    GetPort
  3416. 000021D6  2F2D EA3E                move.l     -[A7], [A5 - 0x15C2]
  3417. 000021DA  3F07                     move.w     -[A7], D7
  3418. 000021DC  486E FEFE                pea.l      [A6 - 0x102]
  3419. 000021E0  A946                     syscall    GetMenuItemText/GetItem
  3420. 000021E2  4267                     clr.w      -[A7]
  3421. 000021E4  486E FEFE                pea.l      [A6 - 0x102]
  3422. 000021E8  A9B6                     syscall    OpenDeskAcc
  3423. 000021EA  3D5F FEF8                move.w     [A6 - 0x108], [A7]+
  3424. 000021EE  2F2E FEFA                move.l     -[A7], [A6 - 0x106]
  3425. 000021F2  A873                     syscall    SetPort
  3426. label000021F4:
  3427. 000021F4  486E FFFF                pea.l      [A6 - 0x1]
  3428. 000021F8  3F07                     move.w     -[A7], D7
  3429. 000021FA  4227                     clr.b      -[A7]
  3430. 000021FC  4EAD 02F2                jsr        [A5 + 0x2F2 /* export_90 */]
  3431. 00002200  2E2E FEF4                move.l     D7, [A6 - 0x10C]
  3432. 00002204  4E5E                     unlink     A6
  3433. 00002206  4E75                     rts
  3434. 00002208  8B44 6F4D                pack       D5, D4, 0x6F4D
  3435. 0000220C  656E                     bcs        +0x70 /* 0000227C */
  3436. 0000220E  7541                     moveq.l    D2, 0x41
  3437. 00002210  7070                     moveq.l    D0, 0x70
  3438. 00002212  6C65                     bge        +0x67 /* 00002279 */
  3439. 00002214  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3440. // begin alternate branch 00002216-0000221A
  3441. fn00002216:
  3442. 00002216  4E56 FFFE                link       A6, -0x0002
  3443. // end alternate branch 00002216-0000221A
  3444. fn00002216: // (misaligned)
  3445. 00002218  FFFE                     .invalid   <<F/7/7>>
  3446. 0000221A  422E FFFF                clr.b      [A6 - 0x1]
  3447. 0000221E  486E FFFF                pea.l      [A6 - 0x1]
  3448. 00002222  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3449. 00002226  1F3C 0001                move.b     -[A7], 0x1
  3450. 0000222A  4EAD 02FA                jsr        [A5 + 0x2FA /* export_91 */]
  3451. 0000222E  4A2E FFFF                tst.b      [A6 - 0x1]
  3452. 00002232  508F                     addq.l     A7, 8
  3453. 00002234  6628                     bne        +0x2A /* 0000225E */
  3454. 00002236  302E 0008                move.w     D0, [A6 + 0x8]
  3455. 0000223A  0C40 0007                cmpi.w     D0, 0x7
  3456. 0000223E  621E                     bhi        +0x20 /* 0000225E */
  3457. 00002240  43FA 003C                lea.l      A1, [PC + 0x3C /* 0000227E, value 0xFFE0FFE0 */]
  3458. 00002244  D040                     add.w      D0, D0
  3459. 00002246  D2F1 0000                add.w      A1, [A1 + D0.w]
  3460. 0000224A  4ED1                     jmp        [A1]
  3461. 0000224C  4EBA F82A                jsr        [PC - 0x7D6 /* 00001A78 */]
  3462. 00002250  600C                     bra        +0xE /* 0000225E */
  3463. 00002252  4EAD 0212                jsr        [A5 + 0x212 /* export_62 */]
  3464. 00002256  6006                     bra        +0x8 /* 0000225E */
  3465. 00002258  1B7C 0001 E622           move.b     [A5 - 0x19DE], 0x1
  3466. label0000225E:
  3467. 0000225E  486E FFFF                pea.l      [A6 - 0x1]
  3468. 00002262  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3469. 00002266  4227                     clr.b      -[A7]
  3470. 00002268  4EAD 02FA                jsr        [A5 + 0x2FA /* export_91 */]
  3471. 0000226C  4E5E                     unlink     A6
  3472. 0000226E  4E75                     rts
  3473. 00002270  8A44                     or.w       D5, D4
  3474. 00002272  6F4D                     ble        +0x4F /* 000022C1 */
  3475. 00002274  656E                     bcs        +0x70 /* 000022E4 */
  3476. 00002276  7546                     moveq.l    D2, 0x46
  3477. 00002278  696C                     bvs        +0x6E /* 000022E6 */
  3478. 0000227A  6500 0010                bcs        +0x12 /* 0000228C */
  3479. // begin alternate branch 0000227C-00002280
  3480. label0000227C:
  3481. 0000227C  0010 FFE0                ori.b      [A0], 0xE0
  3482. // end alternate branch 0000227C-00002280
  3483. label0000227C: // (misaligned)
  3484. 0000227E  FFE0                     .invalid   <<F/7/7>>
  3485. 00002280  FFE0                     .invalid   <<F/7/7>>
  3486. 00002282  FFE0                     .invalid   <<F/7/7>>
  3487. 00002284  FFE0                     .invalid   <<F/7/7>>
  3488. 00002286  FFCE                     .invalid   <<F/7/7>>
  3489. 00002288  FFD4                     .invalid   <<F/7/7>>
  3490. 0000228A  FFE0                     .invalid   <<F/7/7>>
  3491. label0000228C:
  3492. 0000228C  FFDA                     .invalid   <<F/7/7>>
  3493. fn0000228E:
  3494. 0000228E  4E56 FFFE                link       A6, -0x0002
  3495. 00002292  48E7 0300                movem.l    -[A7], D6,D7
  3496. 00002296  3E2E 0008                move.w     D7, [A6 + 0x8]
  3497. 0000229A  422E FFFF                clr.b      [A6 - 0x1]
  3498. 0000229E  486E FFFF                pea.l      [A6 - 0x1]
  3499. 000022A2  3F07                     move.w     -[A7], D7
  3500. 000022A4  1F3C 0001                move.b     -[A7], 0x1
  3501. 000022A8  4EAD 0302                jsr        [A5 + 0x302 /* export_92 */]
  3502. 000022AC  4A2E FFFF                tst.b      [A6 - 0x1]
  3503. 000022B0  508F                     addq.l     A7, 8
  3504. 000022B2  6624                     bne        +0x26 /* 000022D8 */
  3505. 000022B4  4227                     clr.b      -[A7]
  3506. 000022B6  70FF                     moveq.l    D0, 0xFFFFFFFF
  3507. 000022B8  D047                     add.w      D0, D7
  3508. 000022BA  3F00                     move.w     -[A7], D0
  3509. 000022BC  A9C2                     syscall    SysEdit
  3510. 000022BE  1C1F                     move.b     D6, [A7]+
  3511. 000022C0  4A06                     tst.b      D6
  3512. 000022C2  6614                     bne        +0x16 /* 000022D8 */
  3513. 000022C4  3007                     move.w     D0, D7
  3514. 000022C6  0C40 0006                cmpi.w     D0, 0x6
  3515. 000022CA  620C                     bhi        +0xE /* 000022D8 */
  3516. 000022CC  43FA 002E                lea.l      A1, [PC + 0x2E /* 000022FC, value 0xFFDCFFDC */]
  3517. 000022D0  D040                     add.w      D0, D0
  3518. 000022D2  D2F1 0000                add.w      A1, [A1 + D0.w]
  3519. 000022D6  4ED1                     jmp        [A1]
  3520. label000022D8:
  3521. 000022D8  486E FFFF                pea.l      [A6 - 0x1]
  3522. 000022DC  3F07                     move.w     -[A7], D7
  3523. 000022DE  4227                     clr.b      -[A7]
  3524. 000022E0  4EAD 0302                jsr        [A5 + 0x302 /* export_92 */]
  3525. label000022E4:
  3526. 000022E4  4CEE 00C0 FFF6           movem.l    D6,D7, [A6 - 0xA]
  3527. // begin alternate branch 000022E6-000022EA
  3528. label000022E6:
  3529. 000022E6  00C0                     .incomplete
  3530. 000022E8  FFF6                     .invalid   <<F/7/7>>
  3531. // end alternate branch 000022E6-000022EA
  3532. label000022E6: // (misaligned)
  3533. 000022EA  4E5E                     unlink     A6
  3534. 000022EC  4E75                     rts
  3535. 000022EE  8A44                     or.w       D5, D4
  3536. 000022F0  6F4D                     ble        +0x4F /* 0000233F */
  3537. 000022F2  656E                     bcs        +0x70 /* 00002362 */
  3538. 000022F4  7545                     moveq.l    D2, 0x45
  3539. 000022F6  6469                     bcc        +0x6B /* 00002361 */
  3540. 000022F8  7400                     moveq.l    D2, 0x00
  3541. 000022FA  000E FFDC                ori.b      A6, 0xDC
  3542. 000022FE  FFDC                     .invalid   <<F/7/7>>
  3543. 00002300  FFDC                     .invalid   <<F/7/7>>
  3544. 00002302  FFDC                     .invalid   <<F/7/7>>
  3545. 00002304  FFDC                     .invalid   <<F/7/7>>
  3546. 00002306  FFDC                     .invalid   <<F/7/7>>
  3547. 00002308  FFDC                     .invalid   <<F/7/7>>
  3548. fn0000230A:
  3549. 0000230A  4E56 FFFE                link       A6, -0x0002
  3550. 0000230E  422E FFFF                clr.b      [A6 - 0x1]
  3551. 00002312  486E FFFF                pea.l      [A6 - 0x1]
  3552. 00002316  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3553. 0000231A  1F3C 0001                move.b     -[A7], 0x1
  3554. 0000231E  4EAD 030A                jsr        [A5 + 0x30A /* export_93 */]
  3555. 00002322  4A2E FFFF                tst.b      [A6 - 0x1]
  3556. 00002326  508F                     addq.l     A7, 8
  3557. 00002328  665C                     bne        +0x5E /* 00002386 */
  3558. 0000232A  302E 0008                move.w     D0, [A6 + 0x8]
  3559. 0000232E  6756                     beq        +0x58 /* 00002386 */
  3560. 00002330  6B54                     bmi        +0x56 /* 00002386 */
  3561. 00002332  5940                     subq.w     D0, 4
  3562. 00002334  6726                     beq        +0x28 /* 0000235C */
  3563. 00002336  6A08                     bpl        +0xA /* 00002340 */
  3564. 00002338  5440                     addq.w     D0, 2
  3565. 0000233A  674A                     beq        +0x4C /* 00002386 */
  3566. 0000233C  6A48                     bpl        +0x4A /* 00002386 */
  3567. 0000233E  6006                     bra        +0x8 /* 00002346 */
  3568. label00002340:
  3569. 00002340  5540                     subq.w     D0, 2
  3570. 00002342  6A42                     bpl        +0x44 /* 00002386 */
  3571. 00002344  602C                     bra        +0x2E /* 00002372 */
  3572. label00002346:
  3573. 00002346  42A7                     clr.l      -[A7]
  3574. 00002348  42A7                     clr.l      -[A7]
  3575. 0000234A  42A7                     clr.l      -[A7]
  3576. 0000234C  2F3C 0001 0105           move.l     -[A7], 0x10105
  3577. 00002352  4EBA F564                jsr        [PC - 0xA9C /* 000018B8 */]
  3578. 00002356  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3579. 0000235A  602A                     bra        +0x2C /* 00002386 */
  3580. label0000235C:
  3581. 0000235C  42A7                     clr.l      -[A7]
  3582. 0000235E  42A7                     clr.l      -[A7]
  3583. 00002360  42A7                     clr.l      -[A7]
  3584. label00002362:
  3585. 00002362  2F3C 0001 0106           move.l     -[A7], 0x10106
  3586. 00002368  4EBA F54E                jsr        [PC - 0xAB2 /* 000018B8 */]
  3587. 0000236C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3588. 00002370  6014                     bra        +0x16 /* 00002386 */
  3589. label00002372:
  3590. 00002372  42A7                     clr.l      -[A7]
  3591. 00002374  42A7                     clr.l      -[A7]
  3592. 00002376  42A7                     clr.l      -[A7]
  3593. 00002378  2F3C 0001 0107           move.l     -[A7], 0x10107
  3594. 0000237E  4EBA F538                jsr        [PC - 0xAC8 /* 000018B8 */]
  3595. 00002382  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3596. label00002386:
  3597. 00002386  486E FFFF                pea.l      [A6 - 0x1]
  3598. 0000238A  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3599. 0000238E  4227                     clr.b      -[A7]
  3600. 00002390  4EAD 030A                jsr        [A5 + 0x30A /* export_93 */]
  3601. 00002394  4E5E                     unlink     A6
  3602. 00002396  4E75                     rts
  3603. 00002398  8C44                     or.w       D6, D4
  3604. 0000239A  6F4D                     ble        +0x4F /* 000023E9 */
  3605. 0000239C  656E                     bcs        +0x70 /* 0000240C */
  3606. 0000239E  7541                     moveq.l    D2, 0x41
  3607. 000023A0  6374                     bls        +0x76 /* 00002416 */
  3608. 000023A2  696F                     bvs        +0x71 /* 00002413 */
  3609. 000023A4  6E00 0000                bgt        +0x2 /* 000023A6 */
  3610. // begin alternate branch 000023A6-000023AE
  3611. label000023A6:
  3612. 000023A6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3613. export_19: // at 000023A8 (misaligned)
  3614. fn000023A8: // (misaligned)
  3615. 000023AA  0000 2F07                ori.b      D0, 0x7
  3616. // end alternate branch 000023A6-000023AE
  3617. export_19:
  3618. label000023A6: // (misaligned)
  3619. fn000023A8:
  3620. 000023A8  4E56 0000                link       A6, 0
  3621. 000023AC  2F07                     move.l     -[A7], D7
  3622. 000023AE  3E2E 000A                move.w     D7, [A6 + 0xA]
  3623. 000023B2  302E 0008                move.w     D0, [A6 + 0x8]
  3624. 000023B6  6B3E                     bmi        +0x40 /* 000023F6 */
  3625. 000023B8  0440 0102                subi.w     D0, 0x102
  3626. 000023BC  6724                     beq        +0x26 /* 000023E2 */
  3627. 000023BE  6A08                     bpl        +0xA /* 000023C8 */
  3628. 000023C0  5440                     addq.w     D0, 2
  3629. 000023C2  670A                     beq        +0xC /* 000023CE */
  3630. 000023C4  6A12                     bpl        +0x14 /* 000023D8 */
  3631. 000023C6  602E                     bra        +0x30 /* 000023F6 */
  3632. label000023C8:
  3633. 000023C8  5540                     subq.w     D0, 2
  3634. 000023CA  6A2A                     bpl        +0x2C /* 000023F6 */
  3635. 000023CC  601E                     bra        +0x20 /* 000023EC */
  3636. label000023CE:
  3637. 000023CE  3F07                     move.w     -[A7], D7
  3638. 000023D0  4EBA FDCA                jsr        [PC - 0x236 /* 0000219C */]
  3639. 000023D4  548F                     addq.l     A7, 2
  3640. 000023D6  602A                     bra        +0x2C /* 00002402 */
  3641. label000023D8:
  3642. 000023D8  3F07                     move.w     -[A7], D7
  3643. 000023DA  4EBA FE3A                jsr        [PC - 0x1C6 /* 00002216 */]
  3644. 000023DE  548F                     addq.l     A7, 2
  3645. 000023E0  6020                     bra        +0x22 /* 00002402 */
  3646. label000023E2:
  3647. 000023E2  3F07                     move.w     -[A7], D7
  3648. 000023E4  4EBA FEA8                jsr        [PC - 0x158 /* 0000228E */]
  3649. 000023E8  548F                     addq.l     A7, 2
  3650. 000023EA  6016                     bra        +0x18 /* 00002402 */
  3651. label000023EC:
  3652. 000023EC  3F07                     move.w     -[A7], D7
  3653. 000023EE  4EBA FF1A                jsr        [PC - 0xE6 /* 0000230A */]
  3654. 000023F2  548F                     addq.l     A7, 2
  3655. 000023F4  600C                     bra        +0xE /* 00002402 */
  3656. label000023F6:
  3657. 000023F6  3F07                     move.w     -[A7], D7
  3658. 000023F8  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3659. 000023FC  4EAD 0312                jsr        [A5 + 0x312 /* export_94 */]
  3660. 00002400  588F                     addq.l     A7, 4
  3661. label00002402:
  3662. 00002402  4267                     clr.w      -[A7]
  3663. 00002404  A938                     syscall    HiliteMenu
  3664. 00002406  2E1F                     move.l     D7, [A7]+
  3665. 00002408  4E5E                     unlink     A6
  3666. 0000240A  4E75                     rts
  3667. label0000240C:
  3668. 0000240C  8E48                     or.w       D7, A0
  3669. 0000240E  616E                     bsr        +0x70 /* 0000247E */
  3670. 00002410  646C                     bcc        +0x6E /* 0000247E */
  3671. 00002412  655F                     bcs        +0x61 /* 00002473 */
  3672. 00002414  4D79 5F4D 656E           chk.w      D6, [0x5F4D656E]
  3673. // begin alternate branch 00002416-0000241A
  3674. label00002416:
  3675. 00002416  5F4D                     subq.w     A5, 7
  3676. 00002418  656E                     bcs        +0x70 /* 00002488 */
  3677. // end alternate branch 00002416-0000241A
  3678. label00002416: // (misaligned)
  3679. 0000241A  7500                     moveq.l    D2, 0x00
  3680. 0000241C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3681. // begin alternate branch 0000241E-00002422
  3682. fn0000241E:
  3683. 0000241E  4E56 FFFC                link       A6, -0x0004
  3684. // end alternate branch 0000241E-00002422
  3685. fn0000241E: // (misaligned)
  3686. 00002420  FFFC                     .invalid   <<F/7/7>>
  3687. 00002422  42A7                     clr.l      -[A7]
  3688. 00002424  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  3689. 00002428  A95A                     syscall    GetControlReference/GetCRefCon
  3690. 0000242A  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  3691. 0000242E  486E 000E                pea.l      [A6 + 0xE]
  3692. 00002432  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3693. 00002436  486E FFFC                pea.l      [A6 - 0x4]
  3694. 0000243A  4EAD 0192                jsr        [A5 + 0x192 /* export_46 */]
  3695. 0000243E  202E FFFC                move.l     D0, [A6 - 0x4]
  3696. 00002442  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3697. 00002446  6B2A                     bmi        +0x2C /* 00002472 */
  3698. 00002448  0480 0000 0262           subi.l     D0, 0x262
  3699. 0000244E  6702                     beq        +0x4 /* 00002452 */
  3700. 00002450  6020                     bra        +0x22 /* 00002472 */
  3701. label00002452:
  3702. 00002452  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  3703. 00002456  2F3C 0001 000A           move.l     -[A7], 0x1000A
  3704. 0000245C  2F3C 0001 0064           move.l     -[A7], 0x10064
  3705. 00002462  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3706. 00002466  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  3707. 0000246A  4EBA F52A                jsr        [PC - 0xAD6 /* 00001996 */]
  3708. 0000246E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3709. label00002472:
  3710. 00002472  4E5E                     unlink     A6
  3711. 00002474  4E75                     rts
  3712. 00002476  8E44                     or.w       D7, D4
  3713. 00002478  6F5F                     ble        +0x61 /* 000024D9 */
  3714. 0000247A  415F                     chk.w      D0, [A7]+
  3715. 0000247C  5363                     subq.w     -[A3], 1
  3716. fn0000247E:
  3717. 0000247E  726F                     moveq.l    D1, 0x6F
  3718. 00002480  6C6C                     bge        +0x6E /* 000024EE */
  3719. 00002482  4261                     clr.w      -[A1]
  3720. 00002484  7200                     moveq.l    D1, 0x00
  3721. 00002486  0000 42AD                ori.b      D0, 0xAD
  3722. // begin alternate branch 00002488-0000248C
  3723. fn00002488:
  3724. 00002488  42AD EA4E                clr.l      [A5 - 0x15B2]
  3725. // end alternate branch 00002488-0000248C
  3726. fn00002488: // (misaligned)
  3727. 0000248A  EA4E                     lsr        D6.w, 5
  3728. 0000248C  42AD EAB6                clr.l      [A5 - 0x154A]
  3729. 00002490  42AD EABA                clr.l      [A5 - 0x1546]
  3730. 00002494  3B7C FFFF EABE           move.w     [A5 - 0x1542], 0xFFFF
  3731. 0000249A  3B7C FFFF EAC0           move.w     [A5 - 0x1540], 0xFFFF
  3732. 000024A0  3B7C FFFF EAC2           move.w     [A5 - 0x153E], 0xFFFF
  3733. 000024A6  3B7C 0144 E5FC           move.w     [A5 - 0x1A04], 0x144
  3734. 000024AC  3B7C 0124 E5FA           move.w     [A5 - 0x1A06], 0x124
  3735. 000024B2  4EAD 0152                jsr        [A5 + 0x152 /* export_38 */]
  3736. 000024B6  4E75                     rts
  3737. fn000024B8:
  3738. 000024B8  4E56 0000                link       A6, 0
  3739. 000024BC  4AAD EA4E                tst.l      [A5 - 0x15B2]
  3740. 000024C0  6734                     beq        +0x36 /* 000024F6 */
  3741. 000024C2  202D EA4E                move.l     D0, [A5 - 0x15B2]
  3742. 000024C6  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  3743. 000024CA  6708                     beq        +0xA /* 000024D4 */
  3744. 000024CC  70FF                     moveq.l    D0, 0xFFFFFFFF
  3745. 000024CE  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  3746. 000024D2  6622                     bne        +0x24 /* 000024F6 */
  3747. label000024D4:
  3748. 000024D4  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  3749. 000024D8  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  3750. 000024DC  A873                     syscall    SetPort
  3751. 000024DE  426D E5FC                clr.w      [A5 - 0x1A04]
  3752. 000024E2  426D E5FA                clr.w      [A5 - 0x1A06]
  3753. 000024E6  486D E5FA                pea.l      [A5 - 0x1A06]
  3754. 000024EA  A870                     syscall    LocalToGlobal
  3755. 000024EC  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  3756. // begin alternate branch 000024EE-000024F0
  3757. label000024EE:
  3758. 000024EE  EA4E                     lsr        D6.w, 5
  3759. // end alternate branch 000024EE-000024F0
  3760. label000024EE: // (misaligned)
  3761. 000024F0  A914                     syscall    DisposeWindow
  3762. 000024F2  42AD EA4E                clr.l      [A5 - 0x15B2]
  3763. label000024F6:
  3764. 000024F6  4E5E                     unlink     A6
  3765. 000024F8  4E75                     rts
  3766. 000024FA  9543                     subx.w     D2, D3
  3767. 000024FC  6C6F                     bge        +0x71 /* 0000256D */
  3768. 000024FE  7365                     moveq.l    D1, 0x65
  3769. 00002500  5F43                     subq.w     D3, 7
  3770. 00002502  4452                     neg.w      [A2]
  3771. 00002504  4F4D                     chk.w      D7, A5
  3772. 00002506  5F53                     subq.w     [A3], 7
  3773. 00002508  696D                     bvs        +0x6F /* 00002577 */
  3774. 0000250A  756C                     moveq.l    D2, 0x6C
  3775. 0000250C  6174                     bsr        +0x76 /* 00002582 */
  3776. 0000250E  696F                     bvs        +0x71 /* 0000257F */
  3777. 00002510  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3778. 00002514  FFF2                     .invalid   <<F/7/7>>
  3779. 00002516  202D EA4E                move.l     D0, [A5 - 0x15B2]
  3780. 0000251A  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  3781. 0000251E  6636                     bne        +0x38 /* 00002556 */
  3782. 00002520  486E FFFC                pea.l      [A6 - 0x4]
  3783. 00002524  A874                     syscall    GetPort
  3784. 00002526  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  3785. 0000252A  A873                     syscall    SetPort
  3786. 0000252C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3787. 00002530  4EAD 0162                jsr        [A5 + 0x162 /* export_40 */]
  3788. 00002534  206D EA4E                movea.l    A0, [A5 - 0x15B2]
  3789. 00002538  2D68 0010 FFF4           move.l     [A6 - 0xC], [A0 + 0x10]
  3790. 0000253E  2D68 0014 FFF8           move.l     [A6 - 0x8], [A0 + 0x14]
  3791. 00002544  486E FFF4                pea.l      [A6 - 0xC]
  3792. 00002548  A8A3                     syscall    EraseRect
  3793. 0000254A  486E FFF4                pea.l      [A6 - 0xC]
  3794. 0000254E  A928                     syscall    InvalRect
  3795. 00002550  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  3796. 00002554  A873                     syscall    SetPort
  3797. label00002556:
  3798. 00002556  4E5E                     unlink     A6
  3799. 00002558  4E75                     rts
  3800. 0000255A  9752                     sub.w      [A2], D3
  3801. 0000255C  6573                     bcs        +0x75 /* 000025D1 */
  3802. 0000255E  697A                     bvs        +0x7C /* 000025DA */
  3803. 00002560  6564                     bcs        +0x66 /* 000025C6 */
  3804. 00002562  5F43                     subq.w     D3, 7
  3805. 00002564  4452                     neg.w      [A2]
  3806. 00002566  4F4D                     chk.w      D7, A5
  3807. 00002568  5F53                     subq.w     [A3], 7
  3808. 0000256A  696D                     bvs        +0x6F /* 000025D9 */
  3809. 0000256C  756C                     moveq.l    D2, 0x6C
  3810. 0000256E  6174                     bsr        +0x76 /* 000025E4 */
  3811. 00002570  696F                     bvs        +0x71 /* 000025E1 */
  3812. 00002572  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3813. // begin alternate branch 00002574-00002578
  3814. fn00002574:
  3815. 00002574  4E56 FFF2                link       A6, -0x000E
  3816. // end alternate branch 00002574-00002578
  3817. fn00002574: // (misaligned)
  3818. 00002576  FFF2                     .invalid   <<F/7/7>>
  3819. 00002578  202D EA4E                move.l     D0, [A5 - 0x15B2]
  3820. 0000257C  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  3821. 00002580  661A                     bne        +0x1C /* 0000259C */
  3822. fn00002582:
  3823. 00002582  486E FFFC                pea.l      [A6 - 0x4]
  3824. 00002586  A874                     syscall    GetPort
  3825. 00002588  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  3826. 0000258C  A873                     syscall    SetPort
  3827. 0000258E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3828. 00002592  4EAD 016A                jsr        [A5 + 0x16A /* export_41 */]
  3829. 00002596  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  3830. 0000259A  A873                     syscall    SetPort
  3831. label0000259C:
  3832. 0000259C  4E5E                     unlink     A6
  3833. 0000259E  4E75                     rts
  3834. 000025A0  954D                     subx.w     -[A2], -[A5]
  3835. 000025A2  6F76                     ble        +0x78 /* 0000261A */
  3836. 000025A4  6564                     bcs        +0x66 /* 0000260A */
  3837. 000025A6  5F43                     subq.w     D3, 7
  3838. 000025A8  4452                     neg.w      [A2]
  3839. 000025AA  4F4D                     chk.w      D7, A5
  3840. 000025AC  5F53                     subq.w     [A3], 7
  3841. 000025AE  696D                     bvs        +0x6F /* 0000261D */
  3842. 000025B0  756C                     moveq.l    D2, 0x6C
  3843. 000025B2  6174                     bsr        +0x76 /* 00002628 */
  3844. 000025B4  696F                     bvs        +0x71 /* 00002625 */
  3845. 000025B6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3846. // begin alternate branch 000025B8-000025BC
  3847. export_20:
  3848. fn000025B8:
  3849. 000025B8  4E56 FFEA                link       A6, -0x0016
  3850. // end alternate branch 000025B8-000025BC
  3851. export_20: // at 000025B8 (misaligned)
  3852. fn000025B8: // (misaligned)
  3853. 000025BA  FFEA                     .invalid   <<F/7/7>>
  3854. 000025BC  4AAD EA4E                tst.l      [A5 - 0x15B2]
  3855. 000025C0  6700 013C                beq        +0x13E /* 000026FE */
  3856. 000025C4  202D EA4E                move.l     D0, [A5 - 0x15B2]
  3857. // begin alternate branch 000025C6-000025C8
  3858. label000025C6:
  3859. 000025C6  EA4E                     lsr        D6.w, 5
  3860. // end alternate branch 000025C6-000025C8
  3861. label000025C6: // (misaligned)
  3862. 000025C8  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  3863. 000025CC  6600 0130                bne        +0x132 /* 000026FE */
  3864. 000025D0  486E FFFC                pea.l      [A6 - 0x4]
  3865. 000025D4  A874                     syscall    GetPort
  3866. 000025D6  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  3867. label000025DA:
  3868. 000025DA  A873                     syscall    SetPort
  3869. 000025DC  4A2D E730                tst.b      [A5 - 0x18D0]
  3870. 000025E0  6718                     beq        +0x1A /* 000025FA */
  3871. 000025E2  486E FFF6                pea.l      [A6 - 0xA]
  3872. // begin alternate branch 000025E4-000025E6
  3873. fn000025E4:
  3874. 000025E4  FFF6                     .invalid   <<F/7/7>>
  3875. // end alternate branch 000025E4-000025E6
  3876. fn000025E4: // (misaligned)
  3877. 000025E6  AA19                     syscall    GetForeColor
  3878. 000025E8  486E FFF0                pea.l      [A6 - 0x10]
  3879. 000025EC  AA1A                     syscall    GetBackColor
  3880. 000025EE  486D E73A                pea.l      [A5 - 0x18C6]
  3881. 000025F2  AA14                     syscall    RGBForeColor
  3882. 000025F4  486D E740                pea.l      [A5 - 0x18C0]
  3883. 000025F8  AA15                     syscall    RGBBackColor
  3884. label000025FA:
  3885. 000025FA  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  3886. 000025FE  A88A                     syscall    TextSize
  3887. 00002600  3F3C 0002                move.w     -[A7], 0x2
  3888. 00002604  A887                     syscall    TextFont
  3889. 00002606  486D E628                pea.l      [A5 - 0x19D8]
  3890. label0000260A:
  3891. 0000260A  2F3C 0019 0109           move.l     -[A7], 0x190109
  3892. 00002610  2F3C 003C 019A           move.l     -[A7], 0x3C019A
  3893. 00002616  A8A7                     syscall    SetRect
  3894. 00002618  486D E630                pea.l      [A5 - 0x19D0]
  3895. // begin alternate branch 0000261A-0000261C
  3896. label0000261A:
  3897. 0000261A  E630                     roxr       D0.b, D3
  3898. // end alternate branch 0000261A-0000261C
  3899. label0000261A: // (misaligned)
  3900. 0000261C  2F3C 0001 0268           move.l     -[A7], 0x10268
  3901. 00002622  4EBA DF96                jsr        [PC - 0x206A /* 000005BA */]
  3902. 00002626  486D E631                pea.l      [A5 - 0x19CF]
  3903. // begin alternate branch 00002628-0000262A
  3904. fn00002628:
  3905. 00002628  E631                     roxr       D1.b, D3
  3906. // end alternate branch 00002628-0000262A
  3907. fn00002628: // (misaligned)
  3908. 0000262A  7000                     moveq.l    D0, 0x00
  3909. 0000262C  102D E630                move.b     D0, [A5 - 0x19D0]
  3910. 00002630  2F00                     move.l     -[A7], D0
  3911. 00002632  486D E628                pea.l      [A5 - 0x19D8]
  3912. 00002636  4267                     clr.w      -[A7]
  3913. 00002638  A9CE                     syscall    TETextBox/TextBox
  3914. 0000263A  486D E628                pea.l      [A5 - 0x19D8]
  3915. 0000263E  2F3C 0064 010E           move.l     -[A7], 0x64010E
  3916. 00002644  2F3C 007D 01AE           move.l     -[A7], 0x7D01AE
  3917. 0000264A  A8A7                     syscall    SetRect
  3918. 0000264C  486D E630                pea.l      [A5 - 0x19D0]
  3919. 00002650  2F3C 0001 0267           move.l     -[A7], 0x10267
  3920. 00002656  4EBA DF62                jsr        [PC - 0x209E /* 000005BA */]
  3921. 0000265A  486D E631                pea.l      [A5 - 0x19CF]
  3922. 0000265E  7000                     moveq.l    D0, 0x00
  3923. 00002660  102D E630                move.b     D0, [A5 - 0x19D0]
  3924. 00002664  2F00                     move.l     -[A7], D0
  3925. 00002666  486D E628                pea.l      [A5 - 0x19D8]
  3926. 0000266A  4267                     clr.w      -[A7]
  3927. 0000266C  A9CE                     syscall    TETextBox/TextBox
  3928. 0000266E  486D E628                pea.l      [A5 - 0x19D8]
  3929. 00002672  2F3C 005F 0014           move.l     -[A7], 0x5F0014
  3930. 00002678  2F3C 0091 00EB           move.l     -[A7], 0x9100EB
  3931. 0000267E  A8A7                     syscall    SetRect
  3932. 00002680  486D E630                pea.l      [A5 - 0x19D0]
  3933. 00002684  2F3C 0001 0265           move.l     -[A7], 0x10265
  3934. 0000268A  4EBA DF2E                jsr        [PC - 0x20D2 /* 000005BA */]
  3935. 0000268E  486D E631                pea.l      [A5 - 0x19CF]
  3936. 00002692  7000                     moveq.l    D0, 0x00
  3937. 00002694  102D E630                move.b     D0, [A5 - 0x19D0]
  3938. 00002698  2F00                     move.l     -[A7], D0
  3939. 0000269A  486D E628                pea.l      [A5 - 0x19D8]
  3940. 0000269E  4267                     clr.w      -[A7]
  3941. 000026A0  A9CE                     syscall    TETextBox/TextBox
  3942. 000026A2  486D E628                pea.l      [A5 - 0x19D8]
  3943. 000026A6  2F3C 0019 0014           move.l     -[A7], 0x190014
  3944. 000026AC  2F3C 003C 00F0           move.l     -[A7], 0x3C00F0
  3945. 000026B2  A8A7                     syscall    SetRect
  3946. 000026B4  486D E630                pea.l      [A5 - 0x19D0]
  3947. 000026B8  2F3C 0001 0264           move.l     -[A7], 0x10264
  3948. 000026BE  4EBA DEFA                jsr        [PC - 0x2106 /* 000005BA */]
  3949. 000026C2  486D E631                pea.l      [A5 - 0x19CF]
  3950. 000026C6  7000                     moveq.l    D0, 0x00
  3951. 000026C8  102D E630                move.b     D0, [A5 - 0x19D0]
  3952. 000026CC  2F00                     move.l     -[A7], D0
  3953. 000026CE  486D E628                pea.l      [A5 - 0x19D8]
  3954. 000026D2  4267                     clr.w      -[A7]
  3955. 000026D4  A9CE                     syscall    TETextBox/TextBox
  3956. 000026D6  4A2D E730                tst.b      [A5 - 0x18D0]
  3957. 000026DA  670C                     beq        +0xE /* 000026E8 */
  3958. 000026DC  486E FFF6                pea.l      [A6 - 0xA]
  3959. 000026E0  AA14                     syscall    RGBForeColor
  3960. 000026E2  486E FFF0                pea.l      [A6 - 0x10]
  3961. 000026E6  AA15                     syscall    RGBBackColor
  3962. label000026E8:
  3963. 000026E8  3F3C 000C                move.w     -[A7], 0xC
  3964. 000026EC  A88A                     syscall    TextSize
  3965. 000026EE  3F3C 0001                move.w     -[A7], 0x1
  3966. 000026F2  A887                     syscall    TextFont
  3967. 000026F4  4EAD 0172                jsr        [A5 + 0x172 /* export_42 */]
  3968. 000026F8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3969. 000026FC  A873                     syscall    SetPort
  3970. label000026FE:
  3971. 000026FE  4E5E                     unlink     A6
  3972. 00002700  4E75                     rts
  3973. 00002702  9655                     sub.w      D3, [A5]
  3974. 00002704  7064                     moveq.l    D0, 0x64
  3975. 00002706  6174                     bsr        +0x76 /* 0000277C */
  3976. 00002708  655F                     bcs        +0x61 /* 00002769 */
  3977. 0000270A  4344                     chk.w      D1, D4
  3978. 0000270C  524F                     addq.w     A7, 1
  3979. 0000270E  4D5F                     chk.w      D6, [A7]+
  3980. 00002710  5369 6D75                subq.w     [A1 + 0x6D75], 1
  3981. 00002714  6C61                     bge        +0x63 /* 00002777 */
  3982. 00002716  7469                     moveq.l    D2, 0x69
  3983. 00002718  6F00 0000                ble        +0x2 /* 0000271A */
  3984. // begin alternate branch 0000271A-00002720
  3985. label0000271A:
  3986. 0000271A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3987. fn0000271C: // (misaligned)
  3988. 0000271E  FFF8                     .invalid   <<F/7/7>>
  3989. // end alternate branch 0000271A-00002720
  3990. label0000271A: // (misaligned)
  3991. fn0000271C:
  3992. 0000271C  4E56 FFF8                link       A6, -0x0008
  3993. 00002720  2F07                     move.l     -[A7], D7
  3994. 00002722  4AAD EA4E                tst.l      [A5 - 0x15B2]
  3995. 00002726  6600 01D6                bne        +0x1D8 /* 000028FE */
  3996. 0000272A  4A2D E730                tst.b      [A5 - 0x18D0]
  3997. 0000272E  6714                     beq        +0x16 /* 00002744 */
  3998. 00002730  42A7                     clr.l      -[A7]
  3999. 00002732  3F3C 0106                move.w     -[A7], 0x106
  4000. 00002736  42A7                     clr.l      -[A7]
  4001. 00002738  4878 FFFF                push.l     0xFFFF
  4002. 0000273C  AA46                     syscall    GetNewCWindow
  4003. 0000273E  2B5F EA4E                move.l     [A5 - 0x15B2], [A7]+
  4004. 00002742  6012                     bra        +0x14 /* 00002756 */
  4005. label00002744:
  4006. 00002744  42A7                     clr.l      -[A7]
  4007. 00002746  3F3C 0106                move.w     -[A7], 0x106
  4008. 0000274A  42A7                     clr.l      -[A7]
  4009. 0000274C  4878 FFFF                push.l     0xFFFF
  4010. 00002750  A9BD                     syscall    GetNewWindow
  4011. 00002752  2B5F EA4E                move.l     [A5 - 0x15B2], [A7]+
  4012. label00002756:
  4013. 00002756  2D6D EA4E FFF8           move.l     [A6 - 0x8], [A5 - 0x15B2]
  4014. 0000275C  206D EA4E                movea.l    A0, [A5 - 0x15B2]
  4015. 00002760  2B68 0010 E628           move.l     [A5 - 0x19D8], [A0 + 0x10]
  4016. 00002766  2B68 0014 E62C           move.l     [A5 - 0x19D4], [A0 + 0x14]
  4017. 0000276C  302D E62C                move.w     D0, [A5 - 0x19D4]
  4018. 00002770  906D E628                sub.w      D0, [A5 - 0x19D8]
  4019. 00002774  322D E574                move.w     D1, [A5 - 0x1A8C]
  4020. 00002778  926D E570                sub.w      D1, [A5 - 0x1A90]
  4021. fn0000277C:
  4022. 0000277C  9240                     sub.w      D1, D0
  4023. 0000277E  48C1                     ext.l      D1
  4024. 00002780  83FC 0002                divs.w     D1, 0x2
  4025. 00002784  3B41 E628                move.w     [A5 - 0x19D8], D1
  4026. 00002788  0C6D 0028 E628           cmpi.w     [A5 - 0x19D8], 0x28 /* '(' */
  4027. 0000278E  6C06                     bge        +0x8 /* 00002796 */
  4028. 00002790  3B7C 0028 E628           move.w     [A5 - 0x19D8], 0x28 /* '(' */
  4029. label00002796:
  4030. 00002796  302D E62E                move.w     D0, [A5 - 0x19D2]
  4031. 0000279A  906D E62A                sub.w      D0, [A5 - 0x19D6]
  4032. 0000279E  322D E576                move.w     D1, [A5 - 0x1A8A]
  4033. 000027A2  926D E572                sub.w      D1, [A5 - 0x1A8E]
  4034. 000027A6  9240                     sub.w      D1, D0
  4035. 000027A8  48C1                     ext.l      D1
  4036. 000027AA  83FC 0002                divs.w     D1, 0x2
  4037. 000027AE  3B41 E62A                move.w     [A5 - 0x19D6], D1
  4038. 000027B2  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4039. 000027B6  3F2D E62A                move.w     -[A7], [A5 - 0x19D6]
  4040. 000027BA  3F2D E628                move.w     -[A7], [A5 - 0x19D8]
  4041. 000027BE  1F3C 0001                move.b     -[A7], 0x1
  4042. 000027C2  A91B                     syscall    MoveWindow
  4043. 000027C4  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4044. 000027C8  A873                     syscall    SetPort
  4045. 000027CA  42A7                     clr.l      -[A7]
  4046. 000027CC  3F3C 0249                move.w     -[A7], 0x249
  4047. 000027D0  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4048. 000027D4  A9BE                     syscall    GetNewControl
  4049. 000027D6  2B5F EA52                move.l     [A5 - 0x15AE], [A7]+
  4050. 000027DA  42A7                     clr.l      -[A7]
  4051. 000027DC  3F3C 024A                move.w     -[A7], 0x24A
  4052. 000027E0  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4053. 000027E4  A9BE                     syscall    GetNewControl
  4054. 000027E6  2B5F EA56                move.l     [A5 - 0x15AA], [A7]+
  4055. 000027EA  42A7                     clr.l      -[A7]
  4056. 000027EC  3F3C 0266                move.w     -[A7], 0x266
  4057. 000027F0  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4058. 000027F4  A9BE                     syscall    GetNewControl
  4059. 000027F6  2B5F EA66                move.l     [A5 - 0x159A], [A7]+
  4060. 000027FA  2F2D EA66                move.l     -[A7], [A5 - 0x159A]
  4061. 000027FE  A958                     syscall    HideControl
  4062. 00002800  2F2D EA66                move.l     -[A7], [A5 - 0x159A]
  4063. 00002804  486D EAC4                pea.l      [A5 - 0x153C]
  4064. 00002808  A95F                     syscall    SetControlTitle/SetCTitle
  4065. 0000280A  2E3C 0100 0000           move.l     D7, 0x1000000
  4066. 00002810  0687 0000 0100           addi.l     D7, 0x100
  4067. 00002816  5287                     addq.l     D7, 1
  4068. 00002818  206D EA66                movea.l    A0, [A5 - 0x159A]
  4069. 0000281C  2050                     movea.l    A0, [A0]
  4070. 0000281E  2147 001C                move.l     [A0 + 0x1C], D7
  4071. 00002822  206D EA66                movea.l    A0, [A5 - 0x159A]
  4072. 00002826  2050                     movea.l    A0, [A0]
  4073. 00002828  2B68 0008 EA6A           move.l     [A5 - 0x1596], [A0 + 0x8]
  4074. 0000282E  2B68 000C EA6E           move.l     [A5 - 0x1592], [A0 + 0xC]
  4075. 00002834  2F2D EA66                move.l     -[A7], [A5 - 0x159A]
  4076. 00002838  A957                     syscall    ShowControl
  4077. 0000283A  42A7                     clr.l      -[A7]
  4078. 0000283C  3F3C 0263                move.w     -[A7], 0x263
  4079. 00002840  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4080. 00002844  A9BE                     syscall    GetNewControl
  4081. 00002846  2B5F EA72                move.l     [A5 - 0x158E], [A7]+
  4082. 0000284A  2F2D EA72                move.l     -[A7], [A5 - 0x158E]
  4083. 0000284E  A958                     syscall    HideControl
  4084. 00002850  2F2D EA72                move.l     -[A7], [A5 - 0x158E]
  4085. 00002854  486D EAD6                pea.l      [A5 - 0x152A]
  4086. 00002858  A95F                     syscall    SetControlTitle/SetCTitle
  4087. 0000285A  2E3C 0100 0000           move.l     D7, 0x1000000
  4088. 00002860  0687 0000 0100           addi.l     D7, 0x100
  4089. 00002866  5287                     addq.l     D7, 1
  4090. 00002868  206D EA72                movea.l    A0, [A5 - 0x158E]
  4091. 0000286C  2050                     movea.l    A0, [A0]
  4092. 0000286E  2147 001C                move.l     [A0 + 0x1C], D7
  4093. 00002872  206D EA72                movea.l    A0, [A5 - 0x158E]
  4094. 00002876  2050                     movea.l    A0, [A0]
  4095. 00002878  2B68 0008 EA76           move.l     [A5 - 0x158A], [A0 + 0x8]
  4096. 0000287E  2B68 000C EA7A           move.l     [A5 - 0x1586], [A0 + 0xC]
  4097. 00002884  2F2D EA72                move.l     -[A7], [A5 - 0x158E]
  4098. 00002888  A957                     syscall    ShowControl
  4099. 0000288A  42A7                     clr.l      -[A7]
  4100. 0000288C  3F3C 024C                move.w     -[A7], 0x24C
  4101. 00002890  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4102. 00002894  A9BE                     syscall    GetNewControl
  4103. 00002896  2B5F EA5A                move.l     [A5 - 0x15A6], [A7]+
  4104. 0000289A  2F2D EA5A                move.l     -[A7], [A5 - 0x15A6]
  4105. 0000289E  4EBA F098                jsr        [PC - 0xF68 /* 00001938 */]
  4106. 000028A2  4297                     clr.l      [A7]
  4107. 000028A4  3F3C 024D                move.w     -[A7], 0x24D
  4108. 000028A8  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4109. 000028AC  A9BE                     syscall    GetNewControl
  4110. 000028AE  2B5F EA5E                move.l     [A5 - 0x15A2], [A7]+
  4111. 000028B2  2F2D EA5E                move.l     -[A7], [A5 - 0x15A2]
  4112. 000028B6  4EBA F080                jsr        [PC - 0xF80 /* 00001938 */]
  4113. 000028BA  4297                     clr.l      [A7]
  4114. 000028BC  3F3C 0262                move.w     -[A7], 0x262
  4115. 000028C0  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4116. 000028C4  A9BE                     syscall    GetNewControl
  4117. 000028C6  2B5F EA62                move.l     [A5 - 0x159E], [A7]+
  4118. 000028CA  7E00                     moveq.l    D7, 0x00
  4119. 000028CC  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4120. 000028D0  A873                     syscall    SetPort
  4121. 000028D2  426E FFFE                clr.w      [A6 - 0x2]
  4122. 000028D6  426E FFFC                clr.w      [A6 - 0x4]
  4123. 000028DA  486E FFFC                pea.l      [A6 - 0x4]
  4124. 000028DE  A870                     syscall    LocalToGlobal
  4125. 000028E0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4126. 000028E4  2F2D E5FA                move.l     -[A7], [A5 - 0x1A06]
  4127. 000028E8  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4128. 000028EC  4EBA ED68                jsr        [PC - 0x1298 /* 00001656 */]
  4129. 000028F0  4EAD 017A                jsr        [A5 + 0x17A /* export_43 */]
  4130. 000028F4  2EAD EA4E                move.l     [A7], [A5 - 0x15B2]
  4131. 000028F8  A915                     syscall    ShowWindow
  4132. 000028FA  508F                     addq.l     A7, 8
  4133. 000028FC  6006                     bra        +0x8 /* 00002904 */
  4134. label000028FE:
  4135. 000028FE  2F2D EA4E                move.l     -[A7], [A5 - 0x15B2]
  4136. 00002902  A91F                     syscall    SelectWindow
  4137. label00002904:
  4138. 00002904  2E1F                     move.l     D7, [A7]+
  4139. 00002906  4E5E                     unlink     A6
  4140. 00002908  4E75                     rts
  4141. 0000290A  944F                     sub.w      D2, A7
  4142. 0000290C  7065                     moveq.l    D0, 0x65
  4143. 0000290E  6E5F                     bgt        +0x61 /* 0000296F */
  4144. 00002910  4344                     chk.w      D1, D4
  4145. 00002912  524F                     addq.w     A7, 1
  4146. 00002914  4D5F                     chk.w      D6, [A7]+
  4147. 00002916  5369 6D75                subq.w     [A1 + 0x6D75], 1
  4148. 0000291A  6C61                     bge        +0x63 /* 0000297D */
  4149. 0000291C  7469                     moveq.l    D2, 0x69
  4150. 0000291E  6F00 0000                ble        +0x2 /* 00002920 */
  4151. // begin alternate branch 00002920-00002926
  4152. label00002920:
  4153. 00002920  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4154. fn00002922: // (misaligned)
  4155. 00002924  FFFC                     .invalid   <<F/7/7>>
  4156. // end alternate branch 00002920-00002926
  4157. label00002920: // (misaligned)
  4158. fn00002922:
  4159. 00002922  4E56 FFFC                link       A6, -0x0004
  4160. 00002926  202D EA4E                move.l     D0, [A5 - 0x15B2]
  4161. 0000292A  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4162. 0000292E  6632                     bne        +0x34 /* 00002962 */
  4163. 00002930  486E FFFC                pea.l      [A6 - 0x4]
  4164. 00002934  A874                     syscall    GetPort
  4165. 00002936  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4166. 0000293A  A873                     syscall    SetPort
  4167. 0000293C  4A2E 000C                tst.b      [A6 + 0xC]
  4168. 00002940  6610                     bne        +0x12 /* 00002952 */
  4169. 00002942  4AAD E624                tst.l      [A5 - 0x19DC]
  4170. 00002946  6706                     beq        +0x8 /* 0000294E */
  4171. 00002948  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  4172. 0000294C  A9D9                     syscall    TEDeactivate
  4173. label0000294E:
  4174. 0000294E  42AD E624                clr.l      [A5 - 0x19DC]
  4175. label00002952:
  4176. 00002952  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  4177. 00002956  4EAD 0182                jsr        [A5 + 0x182 /* export_44 */]
  4178. 0000295A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4179. 0000295E  A873                     syscall    SetPort
  4180. 00002960  548F                     addq.l     A7, 2
  4181. label00002962:
  4182. 00002962  4E5E                     unlink     A6
  4183. 00002964  4E75                     rts
  4184. 00002966  9841                     sub.w      D4, D1
  4185. 00002968  6374                     bls        +0x76 /* 000029DE */
  4186. 0000296A  6976                     bvs        +0x78 /* 000029E2 */
  4187. 0000296C  6174                     bsr        +0x76 /* 000029E2 */
  4188. 0000296E  655F                     bcs        +0x61 /* 000029CF */
  4189. 00002970  4344                     chk.w      D1, D4
  4190. 00002972  524F                     addq.w     A7, 1
  4191. 00002974  4D5F                     chk.w      D6, [A7]+
  4192. 00002976  5369 6D75                subq.w     [A1 + 0x6D75], 1
  4193. 0000297A  6C61                     bge        +0x63 /* 000029DD */
  4194. 0000297C  7469                     moveq.l    D2, 0x69
  4195. 0000297E  6F00 0000                ble        +0x2 /* 00002980 */
  4196. // begin alternate branch 00002980-00002986
  4197. label00002980:
  4198. 00002980  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4199. fn00002982: // (misaligned)
  4200. 00002984  FFFE                     .invalid   <<F/7/7>>
  4201. // end alternate branch 00002980-00002986
  4202. label00002980: // (misaligned)
  4203. fn00002982:
  4204. 00002982  4E56 FFFE                link       A6, -0x0002
  4205. 00002986  48E7 0308                movem.l    -[A7], D6,D7,A4
  4206. 0000298A  286E 0008                movea.l    A4, [A6 + 0x8]
  4207. 0000298E  2F0C                     move.l     -[A7], A4
  4208. 00002990  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  4209. 00002994  A95D                     syscall    HiliteControl
  4210. 00002996  426E FFFE                clr.w      [A6 - 0x2]
  4211. 0000299A  42A7                     clr.l      -[A7]
  4212. 0000299C  2F0C                     move.l     -[A7], A4
  4213. 0000299E  A95A                     syscall    GetControlReference/GetCRefCon
  4214. 000029A0  2E1F                     move.l     D7, [A7]+
  4215. 000029A2  2007                     move.l     D0, D7
  4216. 000029A4  6B48                     bmi        +0x4A /* 000029EE */
  4217. 000029A6  0480 0000 024B           subi.l     D0, 0x24B
  4218. 000029AC  6740                     beq        +0x42 /* 000029EE */
  4219. 000029AE  6A06                     bpl        +0x8 /* 000029B6 */
  4220. 000029B0  5480                     addq.l     D0, 2
  4221. 000029B2  673A                     beq        +0x3C /* 000029EE */
  4222. 000029B4  6038                     bra        +0x3A /* 000029EE */
  4223. label000029B6:
  4224. 000029B6  5580                     subq.l     D0, 2
  4225. 000029B8  6720                     beq        +0x22 /* 000029DA */
  4226. 000029BA  6A32                     bpl        +0x34 /* 000029EE */
  4227. 000029BC  4267                     clr.w      -[A7]
  4228. 000029BE  2F2D EA5A                move.l     -[A7], [A5 - 0x15A6]
  4229. 000029C2  A960                     syscall    GetControlValue/GetCtlValue
  4230. 000029C4  3C1F                     move.w     D6, [A7]+
  4231. 000029C6  3006                     move.w     D0, D6
  4232. 000029C8  0C40 0011                cmpi.w     D0, 0x11
  4233. 000029CC  6220                     bhi        +0x22 /* 000029EE */
  4234. 000029CE  43FA 004A                lea.l      A1, [PC + 0x4A /* 00002A1A, value 0xFFD4FFD4 */]
  4235. 000029D2  D040                     add.w      D0, D0
  4236. 000029D4  D2F1 0000                add.w      A1, [A1 + D0.w]
  4237. 000029D8  4ED1                     jmp        [A1]
  4238. label000029DA:
  4239. 000029DA  4267                     clr.w      -[A7]
  4240. 000029DC  2F2D EA5E                move.l     -[A7], [A5 - 0x15A2]
  4241. // begin alternate branch 000029DE-000029E0
  4242. label000029DE:
  4243. 000029DE  EA5E                     ror        D6.w, 5
  4244. // end alternate branch 000029DE-000029E0
  4245. label000029DE: // (misaligned)
  4246. 000029E0  A960                     syscall    GetControlValue/GetCtlValue
  4247. fn000029E2:
  4248. 000029E2  3C1F                     move.w     D6, [A7]+
  4249. 000029E4  3006                     move.w     D0, D6
  4250. 000029E6  6706                     beq        +0x8 /* 000029EE */
  4251. 000029E8  6B04                     bmi        +0x6 /* 000029EE */
  4252. 000029EA  5540                     subq.w     D0, 2
  4253. 000029EC  4E71                     nop
  4254. label000029EE:
  4255. 000029EE  486E FFFE                pea.l      [A6 - 0x2]
  4256. 000029F2  2F0C                     move.l     -[A7], A4
  4257. 000029F4  2F07                     move.l     -[A7], D7
  4258. 000029F6  4EAD 018A                jsr        [A5 + 0x18A /* export_45 */]
  4259. 000029FA  2E8C                     move.l     [A7], A4
  4260. 000029FC  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  4261. 00002A00  A95D                     syscall    HiliteControl
  4262. 00002A02  4CEE 10C0 FFF2           movem.l    D6,D7,A4, [A6 - 0xE]
  4263. 00002A08  4E5E                     unlink     A6
  4264. 00002A0A  4E75                     rts
  4265. 00002A0C  8B44 6F5F                pack       D5, D4, 0x6F5F
  4266. 00002A10  415F                     chk.w      D0, [A7]+
  4267. 00002A12  4275 7474                clr.w      [A5 + D7.w * 4 + 0x74]
  4268. 00002A16  6F6E                     ble        +0x70 /* 00002A86 */
  4269. 00002A18  0024 FFD4                ori.b      -[A4], 0xD4
  4270. 00002A1C  FFD4                     .invalid   <<F/7/7>>
  4271. 00002A1E  FFD4                     .invalid   <<F/7/7>>
  4272. 00002A20  FFD4                     .invalid   <<F/7/7>>
  4273. 00002A22  FFD4                     .invalid   <<F/7/7>>
  4274. 00002A24  FFD4                     .invalid   <<F/7/7>>
  4275. 00002A26  FFD4                     .invalid   <<F/7/7>>
  4276. 00002A28  FFD4                     .invalid   <<F/7/7>>
  4277. 00002A2A  FFD4                     .invalid   <<F/7/7>>
  4278. 00002A2C  FFD4                     .invalid   <<F/7/7>>
  4279. 00002A2E  FFD4                     .invalid   <<F/7/7>>
  4280. 00002A30  FFD4                     .invalid   <<F/7/7>>
  4281. 00002A32  FFD4                     .invalid   <<F/7/7>>
  4282. 00002A34  FFD4                     .invalid   <<F/7/7>>
  4283. 00002A36  FFD4                     .invalid   <<F/7/7>>
  4284. 00002A38  FFD4                     .invalid   <<F/7/7>>
  4285. 00002A3A  FFD4                     .invalid   <<F/7/7>>
  4286. 00002A3C  FFD4                     .invalid   <<F/7/7>>
  4287. fn00002A3E:
  4288. 00002A3E  4E56 FFF4                link       A6, -0x000C
  4289. 00002A42  48E7 0108                movem.l    -[A7], D7,A4
  4290. 00002A46  286E 0008                movea.l    A4, [A6 + 0x8]
  4291. 00002A4A  4267                     clr.w      -[A7]
  4292. 00002A4C  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  4293. 00002A50  486E FFFC                pea.l      [A6 - 0x4]
  4294. 00002A54  A92C                     syscall    FindWindow
  4295. 00002A56  3E1F                     move.w     D7, [A7]+
  4296. 00002A58  202D EA4E                move.l     D0, [A5 - 0x15B2]
  4297. 00002A5C  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4298. 00002A60  6600 00B8                bne        +0xBA /* 00002B1A */
  4299. 00002A64  4267                     clr.w      -[A7]
  4300. 00002A66  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  4301. 00002A6A  486E FFFC                pea.l      [A6 - 0x4]
  4302. 00002A6E  A92C                     syscall    FindWindow
  4303. 00002A70  3E1F                     move.w     D7, [A7]+
  4304. 00002A72  202D EA4E                move.l     D0, [A5 - 0x15B2]
  4305. 00002A76  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4306. 00002A7A  6608                     bne        +0xA /* 00002A84 */
  4307. 00002A7C  2F0C                     move.l     -[A7], A4
  4308. 00002A7E  4EAD 019A                jsr        [A5 + 0x19A /* export_47 */]
  4309. 00002A82  588F                     addq.l     A7, 4
  4310. label00002A84:
  4311. 00002A84  0C54 0001                cmpi.w     [A4], 0x1
  4312. // begin alternate branch 00002A86-00002A8A
  4313. label00002A86:
  4314. 00002A86  0001 6616                ori.b      D1, 0x16
  4315. // end alternate branch 00002A86-00002A8A
  4316. label00002A86: // (misaligned)
  4317. 00002A88  6616                     bne        +0x18 /* 00002AA0 */
  4318. 00002A8A  202D EA4E                move.l     D0, [A5 - 0x15B2]
  4319. 00002A8E  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4320. 00002A92  660C                     bne        +0xE /* 00002AA0 */
  4321. 00002A94  2D6C 000A FFF8           move.l     [A6 - 0x8], [A4 + 0xA]
  4322. 00002A9A  486E FFF8                pea.l      [A6 - 0x8]
  4323. 00002A9E  A871                     syscall    GlobalToLocal
  4324. label00002AA0:
  4325. 00002AA0  202D EA4E                move.l     D0, [A5 - 0x15B2]
  4326. 00002AA4  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4327. 00002AA8  6670                     bne        +0x72 /* 00002B1A */
  4328. 00002AAA  0C47 0003                cmpi.w     D7, 0x3
  4329. 00002AAE  666A                     bne        +0x6C /* 00002B1A */
  4330. 00002AB0  4267                     clr.w      -[A7]
  4331. 00002AB2  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  4332. 00002AB6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4333. 00002ABA  486E FFF4                pea.l      [A6 - 0xC]
  4334. 00002ABE  A96C                     syscall    FindControl
  4335. 00002AC0  3E1F                     move.w     D7, [A7]+
  4336. 00002AC2  0C47 0014                cmpi.w     D7, 0x14
  4337. 00002AC6  6718                     beq        +0x1A /* 00002AE0 */
  4338. 00002AC8  0C47 0015                cmpi.w     D7, 0x15
  4339. 00002ACC  6712                     beq        +0x14 /* 00002AE0 */
  4340. 00002ACE  0C47 0081                cmpi.w     D7, 0x81
  4341. 00002AD2  670C                     beq        +0xE /* 00002AE0 */
  4342. 00002AD4  0C47 0017                cmpi.w     D7, 0x17
  4343. 00002AD8  6706                     beq        +0x8 /* 00002AE0 */
  4344. 00002ADA  0C47 0016                cmpi.w     D7, 0x16
  4345. 00002ADE  6614                     bne        +0x16 /* 00002AF4 */
  4346. label00002AE0:
  4347. 00002AE0  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  4348. 00002AE4  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  4349. 00002AE8  3F07                     move.w     -[A7], D7
  4350. 00002AEA  4EBA F932                jsr        [PC - 0x6CE /* 0000241E */]
  4351. 00002AEE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4352. 00002AF2  6016                     bra        +0x18 /* 00002B0A */
  4353. label00002AF4:
  4354. 00002AF4  4A47                     tst.w      D7
  4355. 00002AF6  6712                     beq        +0x14 /* 00002B0A */
  4356. 00002AF8  4267                     clr.w      -[A7]
  4357. 00002AFA  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  4358. 00002AFE  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  4359. 00002B02  4878 FFFF                push.l     0xFFFF
  4360. 00002B06  A968                     syscall    TrackControl
  4361. 00002B08  3E1F                     move.w     D7, [A7]+
  4362. label00002B0A:
  4363. 00002B0A  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  4364. 00002B0E  660A                     bne        +0xC /* 00002B1A */
  4365. 00002B10  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  4366. 00002B14  4EBA FE6C                jsr        [PC - 0x194 /* 00002982 */]
  4367. 00002B18  588F                     addq.l     A7, 4
  4368. label00002B1A:
  4369. 00002B1A  4CDF 1080                movem.l    D7,A4, [A7]+
  4370. 00002B1E  4E5E                     unlink     A6
  4371. 00002B20  4E75                     rts
  4372. 00002B22  9244                     sub.w      D1, D4
  4373. 00002B24  6F5F                     ble        +0x61 /* 00002B85 */
  4374. 00002B26  4344                     chk.w      D1, D4
  4375. 00002B28  524F                     addq.w     A7, 1
  4376. 00002B2A  4D5F                     chk.w      D6, [A7]+
  4377. 00002B2C  5369 6D75                subq.w     [A1 + 0x6D75], 1
  4378. 00002B30  6C61                     bge        +0x63 /* 00002B93 */
  4379. 00002B32  7469                     moveq.l    D2, 0x69
  4380. 00002B34  6F00 0000                ble        +0x2 /* 00002B36 */
  4381. // begin alternate branch 00002B36-00002B3C
  4382. label00002B36:
  4383. 00002B36  0000 42AD                ori.b      D0, 0xAD
  4384. fn00002B38: // (misaligned)
  4385. 00002B3A  EA7E                     ror        D6.w, D5
  4386. // end alternate branch 00002B36-00002B3C
  4387. label00002B36: // (misaligned)
  4388. fn00002B38:
  4389. 00002B38  42AD EA7E                clr.l      [A5 - 0x1582]
  4390. 00002B3C  42AD EAE6                clr.l      [A5 - 0x151A]
  4391. 00002B40  42AD EAEA                clr.l      [A5 - 0x1516]
  4392. 00002B44  3B7C FFFF EAEE           move.w     [A5 - 0x1512], 0xFFFF
  4393. 00002B4A  3B7C FFFF EAF0           move.w     [A5 - 0x1510], 0xFFFF
  4394. 00002B50  3B7C FFFF EAF2           move.w     [A5 - 0x150E], 0xFFFF
  4395. 00002B56  3B7C 0064 E600           move.w     [A5 - 0x1A00], 0x64 /* 'd' */
  4396. 00002B5C  3B7C 0032 E5FE           move.w     [A5 - 0x1A02], 0x32 /* '2' */
  4397. 00002B62  4EAD 01AA                jsr        [A5 + 0x1AA /* export_49 */]
  4398. 00002B66  4E75                     rts
  4399. fn00002B68:
  4400. 00002B68  4E56 0000                link       A6, 0
  4401. 00002B6C  4AAD EA7E                tst.l      [A5 - 0x1582]
  4402. 00002B70  6734                     beq        +0x36 /* 00002BA6 */
  4403. 00002B72  202D EA7E                move.l     D0, [A5 - 0x1582]
  4404. 00002B76  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4405. 00002B7A  6708                     beq        +0xA /* 00002B84 */
  4406. 00002B7C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4407. 00002B7E  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4408. 00002B82  6622                     bne        +0x24 /* 00002BA6 */
  4409. label00002B84:
  4410. 00002B84  4EAD 01B2                jsr        [A5 + 0x1B2 /* export_50 */]
  4411. 00002B88  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4412. 00002B8C  A873                     syscall    SetPort
  4413. 00002B8E  426D E600                clr.w      [A5 - 0x1A00]
  4414. 00002B92  426D E5FE                clr.w      [A5 - 0x1A02]
  4415. 00002B96  486D E5FE                pea.l      [A5 - 0x1A02]
  4416. 00002B9A  A870                     syscall    LocalToGlobal
  4417. 00002B9C  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4418. 00002BA0  A914                     syscall    DisposeWindow
  4419. 00002BA2  42AD EA7E                clr.l      [A5 - 0x1582]
  4420. label00002BA6:
  4421. 00002BA6  4E5E                     unlink     A6
  4422. 00002BA8  4E75                     rts
  4423. 00002BAA  9243                     sub.w      D1, D3
  4424. 00002BAC  6C6F                     bge        +0x71 /* 00002C1D */
  4425. 00002BAE  7365                     moveq.l    D1, 0x65
  4426. 00002BB0  5F43                     subq.w     D3, 7
  4427. 00002BB2  4452                     neg.w      [A2]
  4428. 00002BB4  4F4D                     chk.w      D7, A5
  4429. 00002BB6  5F76 616C                subq.w     <<invalid full ext with I/IS == 4>>, 7
  4430. 00002BBA  7565                     moveq.l    D2, 0x65
  4431. 00002BBC  7300                     moveq.l    D1, 0x00
  4432. 00002BBE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4433. 00002BC2  FFF2                     .invalid   <<F/7/7>>
  4434. 00002BC4  202D EA7E                move.l     D0, [A5 - 0x1582]
  4435. 00002BC8  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  4436. 00002BCC  6636                     bne        +0x38 /* 00002C04 */
  4437. 00002BCE  486E FFFC                pea.l      [A6 - 0x4]
  4438. 00002BD2  A874                     syscall    GetPort
  4439. 00002BD4  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4440. 00002BD8  A873                     syscall    SetPort
  4441. 00002BDA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4442. 00002BDE  4EAD 01BA                jsr        [A5 + 0x1BA /* export_51 */]
  4443. 00002BE2  206D EA7E                movea.l    A0, [A5 - 0x1582]
  4444. 00002BE6  2D68 0010 FFF4           move.l     [A6 - 0xC], [A0 + 0x10]
  4445. 00002BEC  2D68 0014 FFF8           move.l     [A6 - 0x8], [A0 + 0x14]
  4446. 00002BF2  486E FFF4                pea.l      [A6 - 0xC]
  4447. 00002BF6  A8A3                     syscall    EraseRect
  4448. 00002BF8  486E FFF4                pea.l      [A6 - 0xC]
  4449. 00002BFC  A928                     syscall    InvalRect
  4450. 00002BFE  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  4451. 00002C02  A873                     syscall    SetPort
  4452. label00002C04:
  4453. 00002C04  4E5E                     unlink     A6
  4454. 00002C06  4E75                     rts
  4455. 00002C08  9452                     sub.w      D2, [A2]
  4456. 00002C0A  6573                     bcs        +0x75 /* 00002C7F */
  4457. 00002C0C  697A                     bvs        +0x7C /* 00002C88 */
  4458. 00002C0E  6564                     bcs        +0x66 /* 00002C74 */
  4459. 00002C10  5F43                     subq.w     D3, 7
  4460. 00002C12  4452                     neg.w      [A2]
  4461. 00002C14  4F4D                     chk.w      D7, A5
  4462. 00002C16  5F76 616C                subq.w     <<invalid full ext with I/IS == 4>>, 7
  4463. 00002C1A  7565                     moveq.l    D2, 0x65
  4464. 00002C1C  7300                     moveq.l    D1, 0x00
  4465. 00002C1E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4466. // begin alternate branch 00002C20-00002C24
  4467. fn00002C20:
  4468. 00002C20  4E56 FFF2                link       A6, -0x000E
  4469. // end alternate branch 00002C20-00002C24
  4470. fn00002C20: // (misaligned)
  4471. 00002C22  FFF2                     .invalid   <<F/7/7>>
  4472. 00002C24  202D EA7E                move.l     D0, [A5 - 0x1582]
  4473. 00002C28  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  4474. 00002C2C  661A                     bne        +0x1C /* 00002C48 */
  4475. 00002C2E  486E FFFC                pea.l      [A6 - 0x4]
  4476. 00002C32  A874                     syscall    GetPort
  4477. 00002C34  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4478. 00002C38  A873                     syscall    SetPort
  4479. 00002C3A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4480. 00002C3E  4EAD 01C2                jsr        [A5 + 0x1C2 /* export_52 */]
  4481. 00002C42  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  4482. 00002C46  A873                     syscall    SetPort
  4483. label00002C48:
  4484. 00002C48  4E5E                     unlink     A6
  4485. 00002C4A  4E75                     rts
  4486. 00002C4C  924D                     sub.w      D1, A5
  4487. 00002C4E  6F76                     ble        +0x78 /* 00002CC6 */
  4488. 00002C50  6564                     bcs        +0x66 /* 00002CB6 */
  4489. 00002C52  5F43                     subq.w     D3, 7
  4490. 00002C54  4452                     neg.w      [A2]
  4491. 00002C56  4F4D                     chk.w      D7, A5
  4492. 00002C58  5F76 616C                subq.w     <<invalid full ext with I/IS == 4>>, 7
  4493. 00002C5C  7565                     moveq.l    D2, 0x65
  4494. 00002C5E  7300                     moveq.l    D1, 0x00
  4495. 00002C60  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4496. // begin alternate branch 00002C62-00002C66
  4497. fn00002C62:
  4498. 00002C62  4E56 FFFC                link       A6, -0x0004
  4499. // end alternate branch 00002C62-00002C66
  4500. fn00002C62: // (misaligned)
  4501. 00002C64  FFFC                     .invalid   <<F/7/7>>
  4502. 00002C66  4AAD EA7E                tst.l      [A5 - 0x1582]
  4503. 00002C6A  6720                     beq        +0x22 /* 00002C8C */
  4504. 00002C6C  202D EA7E                move.l     D0, [A5 - 0x1582]
  4505. 00002C70  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4506. label00002C74:
  4507. 00002C74  6616                     bne        +0x18 /* 00002C8C */
  4508. 00002C76  486E FFFC                pea.l      [A6 - 0x4]
  4509. 00002C7A  A874                     syscall    GetPort
  4510. 00002C7C  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4511. 00002C80  A873                     syscall    SetPort
  4512. 00002C82  4EAD 01CA                jsr        [A5 + 0x1CA /* export_53 */]
  4513. 00002C86  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4514. // begin alternate branch 00002C88-00002C8A
  4515. label00002C88:
  4516. 00002C88  FFFC                     .invalid   <<F/7/7>>
  4517. // end alternate branch 00002C88-00002C8A
  4518. label00002C88: // (misaligned)
  4519. 00002C8A  A873                     syscall    SetPort
  4520. label00002C8C:
  4521. 00002C8C  4E5E                     unlink     A6
  4522. 00002C8E  4E75                     rts
  4523. 00002C90  9355                     sub.w      [A5], D1
  4524. 00002C92  7064                     moveq.l    D0, 0x64
  4525. 00002C94  6174                     bsr        +0x76 /* 00002D0A */
  4526. 00002C96  655F                     bcs        +0x61 /* 00002CF7 */
  4527. 00002C98  4344                     chk.w      D1, D4
  4528. 00002C9A  524F                     addq.w     A7, 1
  4529. 00002C9C  4D5F                     chk.w      D6, [A7]+
  4530. 00002C9E  7661                     moveq.l    D3, 0x61
  4531. 00002CA0  6C75                     bge        +0x77 /* 00002D17 */
  4532. 00002CA2  6573                     bcs        +0x75 /* 00002D17 */
  4533. 00002CA4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4534. // begin alternate branch 00002CA6-00002CAA
  4535. fn00002CA6:
  4536. 00002CA6  4E56 FFF4                link       A6, -0x000C
  4537. // end alternate branch 00002CA6-00002CAA
  4538. fn00002CA6: // (misaligned)
  4539. 00002CA8  FFF4                     .invalid   <<F/7/7>>
  4540. 00002CAA  4AAD EA7E                tst.l      [A5 - 0x1582]
  4541. 00002CAE  6664                     bne        +0x66 /* 00002D14 */
  4542. 00002CB0  4A2D E730                tst.b      [A5 - 0x18D0]
  4543. 00002CB4  6714                     beq        +0x16 /* 00002CCA */
  4544. label00002CB6:
  4545. 00002CB6  42A7                     clr.l      -[A7]
  4546. 00002CB8  3F3C 0107                move.w     -[A7], 0x107
  4547. 00002CBC  42A7                     clr.l      -[A7]
  4548. 00002CBE  4878 FFFF                push.l     0xFFFF
  4549. 00002CC2  AA46                     syscall    GetNewCWindow
  4550. 00002CC4  2B5F EA7E                move.l     [A5 - 0x1582], [A7]+
  4551. // begin alternate branch 00002CC6-00002CC8
  4552. label00002CC6:
  4553. 00002CC6  EA7E                     ror        D6.w, D5
  4554. // end alternate branch 00002CC6-00002CC8
  4555. label00002CC6: // (misaligned)
  4556. 00002CC8  6012                     bra        +0x14 /* 00002CDC */
  4557. label00002CCA:
  4558. 00002CCA  42A7                     clr.l      -[A7]
  4559. 00002CCC  3F3C 0107                move.w     -[A7], 0x107
  4560. 00002CD0  42A7                     clr.l      -[A7]
  4561. 00002CD2  4878 FFFF                push.l     0xFFFF
  4562. 00002CD6  A9BD                     syscall    GetNewWindow
  4563. 00002CD8  2B5F EA7E                move.l     [A5 - 0x1582], [A7]+
  4564. label00002CDC:
  4565. 00002CDC  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4566. 00002CE0  A873                     syscall    SetPort
  4567. 00002CE2  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4568. 00002CE6  A873                     syscall    SetPort
  4569. 00002CE8  426E FFFE                clr.w      [A6 - 0x2]
  4570. 00002CEC  426E FFFC                clr.w      [A6 - 0x4]
  4571. 00002CF0  486E FFFC                pea.l      [A6 - 0x4]
  4572. 00002CF4  A870                     syscall    LocalToGlobal
  4573. 00002CF6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4574. 00002CFA  2F2D E5FE                move.l     -[A7], [A5 - 0x1A02]
  4575. 00002CFE  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4576. 00002D02  4EBA E952                jsr        [PC - 0x16AE /* 00001656 */]
  4577. 00002D06  4EAD 01D2                jsr        [A5 + 0x1D2 /* export_54 */]
  4578. fn00002D0A:
  4579. 00002D0A  2EAD EA7E                move.l     [A7], [A5 - 0x1582]
  4580. 00002D0E  A915                     syscall    ShowWindow
  4581. 00002D10  508F                     addq.l     A7, 8
  4582. 00002D12  6006                     bra        +0x8 /* 00002D1A */
  4583. label00002D14:
  4584. 00002D14  2F2D EA7E                move.l     -[A7], [A5 - 0x1582]
  4585. 00002D18  A91F                     syscall    SelectWindow
  4586. label00002D1A:
  4587. 00002D1A  4E5E                     unlink     A6
  4588. 00002D1C  4E75                     rts
  4589. 00002D1E  914F                     subx.w     -[A0], -[A7]
  4590. 00002D20  7065                     moveq.l    D0, 0x65
  4591. 00002D22  6E5F                     bgt        +0x61 /* 00002D83 */
  4592. 00002D24  4344                     chk.w      D1, D4
  4593. 00002D26  524F                     addq.w     A7, 1
  4594. 00002D28  4D5F                     chk.w      D6, [A7]+
  4595. 00002D2A  7661                     moveq.l    D3, 0x61
  4596. 00002D2C  6C75                     bge        +0x77 /* 00002DA3 */
  4597. 00002D2E  6573                     bcs        +0x75 /* 00002DA3 */
  4598. 00002D30  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4599. // begin alternate branch 00002D32-00002D36
  4600. fn00002D32:
  4601. 00002D32  4E56 FFFC                link       A6, -0x0004
  4602. // end alternate branch 00002D32-00002D36
  4603. fn00002D32: // (misaligned)
  4604. 00002D34  FFFC                     .invalid   <<F/7/7>>
  4605. 00002D36  202D EA7E                move.l     D0, [A5 - 0x1582]
  4606. 00002D3A  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4607. 00002D3E  6632                     bne        +0x34 /* 00002D72 */
  4608. 00002D40  486E FFFC                pea.l      [A6 - 0x4]
  4609. 00002D44  A874                     syscall    GetPort
  4610. 00002D46  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4611. 00002D4A  A873                     syscall    SetPort
  4612. 00002D4C  4A2E 000C                tst.b      [A6 + 0xC]
  4613. 00002D50  6610                     bne        +0x12 /* 00002D62 */
  4614. 00002D52  4AAD E624                tst.l      [A5 - 0x19DC]
  4615. 00002D56  6706                     beq        +0x8 /* 00002D5E */
  4616. 00002D58  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  4617. 00002D5C  A9D9                     syscall    TEDeactivate
  4618. label00002D5E:
  4619. 00002D5E  42AD E624                clr.l      [A5 - 0x19DC]
  4620. label00002D62:
  4621. 00002D62  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  4622. 00002D66  4EAD 01DA                jsr        [A5 + 0x1DA /* export_55 */]
  4623. 00002D6A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4624. 00002D6E  A873                     syscall    SetPort
  4625. 00002D70  548F                     addq.l     A7, 2
  4626. label00002D72:
  4627. 00002D72  4E5E                     unlink     A6
  4628. 00002D74  4E75                     rts
  4629. 00002D76  9541                     subx.w     D2, D1
  4630. 00002D78  6374                     bls        +0x76 /* 00002DEE */
  4631. 00002D7A  6976                     bvs        +0x78 /* 00002DF2 */
  4632. 00002D7C  6174                     bsr        +0x76 /* 00002DF2 */
  4633. 00002D7E  655F                     bcs        +0x61 /* 00002DDF */
  4634. 00002D80  4344                     chk.w      D1, D4
  4635. 00002D82  524F                     addq.w     A7, 1
  4636. 00002D84  4D5F                     chk.w      D6, [A7]+
  4637. 00002D86  7661                     moveq.l    D3, 0x61
  4638. 00002D88  6C75                     bge        +0x77 /* 00002DFF */
  4639. 00002D8A  6573                     bcs        +0x75 /* 00002DFF */
  4640. 00002D8C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4641. // begin alternate branch 00002D8E-00002D92
  4642. fn00002D8E:
  4643. 00002D8E  4E56 FFF4                link       A6, -0x000C
  4644. // end alternate branch 00002D8E-00002D92
  4645. fn00002D8E: // (misaligned)
  4646. 00002D90  FFF4                     .invalid   <<F/7/7>>
  4647. 00002D92  48E7 0108                movem.l    -[A7], D7,A4
  4648. 00002D96  286E 0008                movea.l    A4, [A6 + 0x8]
  4649. 00002D9A  4267                     clr.w      -[A7]
  4650. 00002D9C  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  4651. 00002DA0  486E FFFC                pea.l      [A6 - 0x4]
  4652. 00002DA4  A92C                     syscall    FindWindow
  4653. 00002DA6  3E1F                     move.w     D7, [A7]+
  4654. 00002DA8  202D EA7E                move.l     D0, [A5 - 0x1582]
  4655. 00002DAC  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4656. 00002DB0  6674                     bne        +0x76 /* 00002E26 */
  4657. 00002DB2  4267                     clr.w      -[A7]
  4658. 00002DB4  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  4659. 00002DB8  486E FFFC                pea.l      [A6 - 0x4]
  4660. 00002DBC  A92C                     syscall    FindWindow
  4661. 00002DBE  3E1F                     move.w     D7, [A7]+
  4662. 00002DC0  202D EA7E                move.l     D0, [A5 - 0x1582]
  4663. 00002DC4  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4664. 00002DC8  6608                     bne        +0xA /* 00002DD2 */
  4665. 00002DCA  2F0C                     move.l     -[A7], A4
  4666. 00002DCC  4EAD 01E2                jsr        [A5 + 0x1E2 /* export_56 */]
  4667. 00002DD0  588F                     addq.l     A7, 4
  4668. label00002DD2:
  4669. 00002DD2  0C54 0001                cmpi.w     [A4], 0x1
  4670. 00002DD6  6616                     bne        +0x18 /* 00002DEE */
  4671. 00002DD8  202D EA7E                move.l     D0, [A5 - 0x1582]
  4672. 00002DDC  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4673. 00002DE0  660C                     bne        +0xE /* 00002DEE */
  4674. 00002DE2  2D6C 000A FFF8           move.l     [A6 - 0x8], [A4 + 0xA]
  4675. 00002DE8  486E FFF8                pea.l      [A6 - 0x8]
  4676. 00002DEC  A871                     syscall    GlobalToLocal
  4677. label00002DEE:
  4678. 00002DEE  202D EA7E                move.l     D0, [A5 - 0x1582]
  4679. fn00002DF2:
  4680. 00002DF2  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4681. 00002DF6  662E                     bne        +0x30 /* 00002E26 */
  4682. 00002DF8  0C47 0003                cmpi.w     D7, 0x3
  4683. 00002DFC  6628                     bne        +0x2A /* 00002E26 */
  4684. 00002DFE  4267                     clr.w      -[A7]
  4685. 00002E00  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  4686. 00002E04  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4687. 00002E08  486E FFF4                pea.l      [A6 - 0xC]
  4688. 00002E0C  A96C                     syscall    FindControl
  4689. 00002E0E  3E1F                     move.w     D7, [A7]+
  4690. 00002E10  4A47                     tst.w      D7
  4691. 00002E12  6712                     beq        +0x14 /* 00002E26 */
  4692. 00002E14  4267                     clr.w      -[A7]
  4693. 00002E16  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  4694. 00002E1A  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  4695. 00002E1E  4878 FFFF                push.l     0xFFFF
  4696. 00002E22  A968                     syscall    TrackControl
  4697. 00002E24  3E1F                     move.w     D7, [A7]+
  4698. label00002E26:
  4699. 00002E26  4CDF 1080                movem.l    D7,A4, [A7]+
  4700. 00002E2A  4E5E                     unlink     A6
  4701. 00002E2C  4E75                     rts
  4702. 00002E2E  8F44 6F5F                pack       D7, D4, 0x6F5F
  4703. 00002E32  4344                     chk.w      D1, D4
  4704. 00002E34  524F                     addq.w     A7, 1
  4705. 00002E36  4D5F                     chk.w      D6, [A7]+
  4706. 00002E38  7661                     moveq.l    D3, 0x61
  4707. 00002E3A  6C75                     bge        +0x77 /* 00002EB1 */
  4708. 00002E3C  6573                     bcs        +0x75 /* 00002EB1 */
  4709. 00002E3E  0000 42AD                ori.b      D0, 0xAD
  4710. // begin alternate branch 00002E40-00002E44
  4711. fn00002E40:
  4712. 00002E40  42AD EA82                clr.l      [A5 - 0x157E]
  4713. // end alternate branch 00002E40-00002E44
  4714. fn00002E40: // (misaligned)
  4715. 00002E42  EA82                     asr        D2, 5
  4716. 00002E44  42AD EAF4                clr.l      [A5 - 0x150C]
  4717. 00002E48  42AD EAF8                clr.l      [A5 - 0x1508]
  4718. 00002E4C  3B7C FFFF EAFC           move.w     [A5 - 0x1504], 0xFFFF
  4719. 00002E52  3B7C FFFF EAFE           move.w     [A5 - 0x1502], 0xFFFF
  4720. 00002E58  3B7C FFFF EB00           move.w     [A5 - 0x1500], 0xFFFF
  4721. 00002E5E  3B7C 00BA E604           move.w     [A5 - 0x19FC], 0xBA
  4722. 00002E64  3B7C 0030 E602           move.w     [A5 - 0x19FE], 0x30 /* '0' */
  4723. 00002E6A  4EAD 02AA                jsr        [A5 + 0x2AA /* export_81 */]
  4724. 00002E6E  4E75                     rts
  4725. export_21:
  4726. fn00002E70:
  4727. 00002E70  4E56 0000                link       A6, 0
  4728. 00002E74  4AAD EA82                tst.l      [A5 - 0x157E]
  4729. 00002E78  6734                     beq        +0x36 /* 00002EAE */
  4730. 00002E7A  202D EA82                move.l     D0, [A5 - 0x157E]
  4731. 00002E7E  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4732. 00002E82  6708                     beq        +0xA /* 00002E8C */
  4733. 00002E84  70FF                     moveq.l    D0, 0xFFFFFFFF
  4734. 00002E86  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4735. 00002E8A  6622                     bne        +0x24 /* 00002EAE */
  4736. label00002E8C:
  4737. 00002E8C  4EAD 02B2                jsr        [A5 + 0x2B2 /* export_82 */]
  4738. 00002E90  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4739. 00002E94  A873                     syscall    SetPort
  4740. 00002E96  426D E604                clr.w      [A5 - 0x19FC]
  4741. 00002E9A  426D E602                clr.w      [A5 - 0x19FE]
  4742. 00002E9E  486D E602                pea.l      [A5 - 0x19FE]
  4743. 00002EA2  A870                     syscall    LocalToGlobal
  4744. 00002EA4  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4745. 00002EA8  A914                     syscall    DisposeWindow
  4746. 00002EAA  42AD EA82                clr.l      [A5 - 0x157E]
  4747. label00002EAE:
  4748. 00002EAE  4E5E                     unlink     A6
  4749. 00002EB0  4E75                     rts
  4750. 00002EB2  9143                     subx.w     D0, D3
  4751. 00002EB4  6C6F                     bge        +0x71 /* 00002F25 */
  4752. 00002EB6  7365                     moveq.l    D1, 0x65
  4753. 00002EB8  5F49                     subq.w     A1, 7
  4754. 00002EBA  6E70                     bgt        +0x72 /* 00002F2C */
  4755. 00002EBC  7574                     moveq.l    D2, 0x74
  4756. 00002EBE  5F4D                     subq.w     A5, 7
  4757. 00002EC0  6F76                     ble        +0x78 /* 00002F38 */
  4758. 00002EC2  6965                     bvs        +0x67 /* 00002F29 */
  4759. 00002EC4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4760. 00002EC8  FFF2                     .invalid   <<F/7/7>>
  4761. 00002ECA  202D EA82                move.l     D0, [A5 - 0x157E]
  4762. 00002ECE  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  4763. 00002ED2  6636                     bne        +0x38 /* 00002F0A */
  4764. 00002ED4  486E FFFC                pea.l      [A6 - 0x4]
  4765. 00002ED8  A874                     syscall    GetPort
  4766. 00002EDA  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4767. 00002EDE  A873                     syscall    SetPort
  4768. 00002EE0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4769. 00002EE4  4EAD 02BA                jsr        [A5 + 0x2BA /* export_83 */]
  4770. 00002EE8  206D EA82                movea.l    A0, [A5 - 0x157E]
  4771. 00002EEC  2D68 0010 FFF4           move.l     [A6 - 0xC], [A0 + 0x10]
  4772. 00002EF2  2D68 0014 FFF8           move.l     [A6 - 0x8], [A0 + 0x14]
  4773. 00002EF8  486E FFF4                pea.l      [A6 - 0xC]
  4774. 00002EFC  A8A3                     syscall    EraseRect
  4775. 00002EFE  486E FFF4                pea.l      [A6 - 0xC]
  4776. 00002F02  A928                     syscall    InvalRect
  4777. 00002F04  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  4778. 00002F08  A873                     syscall    SetPort
  4779. label00002F0A:
  4780. 00002F0A  4E5E                     unlink     A6
  4781. 00002F0C  4E75                     rts
  4782. 00002F0E  9352                     sub.w      [A2], D1
  4783. 00002F10  6573                     bcs        +0x75 /* 00002F85 */
  4784. 00002F12  697A                     bvs        +0x7C /* 00002F8E */
  4785. 00002F14  6564                     bcs        +0x66 /* 00002F7A */
  4786. 00002F16  5F49                     subq.w     A1, 7
  4787. 00002F18  6E70                     bgt        +0x72 /* 00002F8A */
  4788. 00002F1A  7574                     moveq.l    D2, 0x74
  4789. 00002F1C  5F4D                     subq.w     A5, 7
  4790. 00002F1E  6F76                     ble        +0x78 /* 00002F96 */
  4791. 00002F20  6965                     bvs        +0x67 /* 00002F87 */
  4792. 00002F22  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4793. // begin alternate branch 00002F24-00002F28
  4794. fn00002F24:
  4795. 00002F24  4E56 FFF2                link       A6, -0x000E
  4796. // end alternate branch 00002F24-00002F28
  4797. fn00002F24: // (misaligned)
  4798. 00002F26  FFF2                     .invalid   <<F/7/7>>
  4799. 00002F28  202D EA82                move.l     D0, [A5 - 0x157E]
  4800. label00002F2C:
  4801. 00002F2C  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  4802. 00002F30  661A                     bne        +0x1C /* 00002F4C */
  4803. 00002F32  486E FFFC                pea.l      [A6 - 0x4]
  4804. 00002F36  A874                     syscall    GetPort
  4805. label00002F38:
  4806. 00002F38  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4807. 00002F3C  A873                     syscall    SetPort
  4808. 00002F3E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4809. 00002F42  4EAD 02C2                jsr        [A5 + 0x2C2 /* export_84 */]
  4810. 00002F46  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  4811. 00002F4A  A873                     syscall    SetPort
  4812. label00002F4C:
  4813. 00002F4C  4E5E                     unlink     A6
  4814. 00002F4E  4E75                     rts
  4815. 00002F50  914D                     subx.w     -[A0], -[A5]
  4816. 00002F52  6F76                     ble        +0x78 /* 00002FCA */
  4817. 00002F54  6564                     bcs        +0x66 /* 00002FBA */
  4818. 00002F56  5F49                     subq.w     A1, 7
  4819. 00002F58  6E70                     bgt        +0x72 /* 00002FCA */
  4820. 00002F5A  7574                     moveq.l    D2, 0x74
  4821. 00002F5C  5F4D                     subq.w     A5, 7
  4822. 00002F5E  6F76                     ble        +0x78 /* 00002FD6 */
  4823. 00002F60  6965                     bvs        +0x67 /* 00002FC7 */
  4824. 00002F62  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4825. // begin alternate branch 00002F64-00002F68
  4826. export_22:
  4827. fn00002F64:
  4828. 00002F64  4E56 FFFC                link       A6, -0x0004
  4829. // end alternate branch 00002F64-00002F68
  4830. export_22: // at 00002F64 (misaligned)
  4831. fn00002F64: // (misaligned)
  4832. 00002F66  FFFC                     .invalid   <<F/7/7>>
  4833. 00002F68  4AAD EA82                tst.l      [A5 - 0x157E]
  4834. 00002F6C  6720                     beq        +0x22 /* 00002F8E */
  4835. 00002F6E  202D EA82                move.l     D0, [A5 - 0x157E]
  4836. 00002F72  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4837. 00002F76  6616                     bne        +0x18 /* 00002F8E */
  4838. 00002F78  486E FFFC                pea.l      [A6 - 0x4]
  4839. // begin alternate branch 00002F7A-00002F7C
  4840. label00002F7A:
  4841. 00002F7A  FFFC                     .invalid   <<F/7/7>>
  4842. // end alternate branch 00002F7A-00002F7C
  4843. label00002F7A: // (misaligned)
  4844. 00002F7C  A874                     syscall    GetPort
  4845. 00002F7E  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4846. 00002F82  A873                     syscall    SetPort
  4847. 00002F84  4EAD 02CA                jsr        [A5 + 0x2CA /* export_85 */]
  4848. 00002F88  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4849. // begin alternate branch 00002F8A-00002F8C
  4850. label00002F8A:
  4851. 00002F8A  FFFC                     .invalid   <<F/7/7>>
  4852. // end alternate branch 00002F8A-00002F8C
  4853. label00002F8A: // (misaligned)
  4854. 00002F8C  A873                     syscall    SetPort
  4855. label00002F8E:
  4856. 00002F8E  4E5E                     unlink     A6
  4857. 00002F90  4E75                     rts
  4858. 00002F92  9255                     sub.w      D1, [A5]
  4859. 00002F94  7064                     moveq.l    D0, 0x64
  4860. label00002F96:
  4861. 00002F96  6174                     bsr        +0x76 /* 0000300C */
  4862. 00002F98  655F                     bcs        +0x61 /* 00002FF9 */
  4863. 00002F9A  496E 7075                chk.w      D4, [A6 + 0x7075]
  4864. 00002F9E  745F                     moveq.l    D2, 0x5F
  4865. 00002FA0  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  4866. 00002FA4  6500 0000                bcs        +0x2 /* 00002FA6 */
  4867. // begin alternate branch 00002FA6-00002FAC
  4868. label00002FA6:
  4869. 00002FA6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4870. export_23: // at 00002FA8 (misaligned)
  4871. fn00002FA8: // (misaligned)
  4872. 00002FAA  FFF4                     .invalid   <<F/7/7>>
  4873. // end alternate branch 00002FA6-00002FAC
  4874. export_23:
  4875. label00002FA6: // (misaligned)
  4876. fn00002FA8:
  4877. 00002FA8  4E56 FFF4                link       A6, -0x000C
  4878. 00002FAC  4AAD EA82                tst.l      [A5 - 0x157E]
  4879. 00002FB0  6664                     bne        +0x66 /* 00003016 */
  4880. 00002FB2  4A2D E730                tst.b      [A5 - 0x18D0]
  4881. 00002FB6  6714                     beq        +0x16 /* 00002FCC */
  4882. 00002FB8  42A7                     clr.l      -[A7]
  4883. label00002FBA:
  4884. 00002FBA  3F3C 0108                move.w     -[A7], 0x108
  4885. 00002FBE  42A7                     clr.l      -[A7]
  4886. 00002FC0  4878 FFFF                push.l     0xFFFF
  4887. 00002FC4  AA46                     syscall    GetNewCWindow
  4888. 00002FC6  2B5F EA82                move.l     [A5 - 0x157E], [A7]+
  4889. label00002FCA:
  4890. 00002FCA  6012                     bra        +0x14 /* 00002FDE */
  4891. label00002FCC:
  4892. 00002FCC  42A7                     clr.l      -[A7]
  4893. 00002FCE  3F3C 0108                move.w     -[A7], 0x108
  4894. 00002FD2  42A7                     clr.l      -[A7]
  4895. 00002FD4  4878 FFFF                push.l     0xFFFF
  4896. // begin alternate branch 00002FD6-00002FD8
  4897. label00002FD6:
  4898. 00002FD6  FFFF                     .invalid   <<F/7/7>>
  4899. // end alternate branch 00002FD6-00002FD8
  4900. label00002FD6: // (misaligned)
  4901. 00002FD8  A9BD                     syscall    GetNewWindow
  4902. 00002FDA  2B5F EA82                move.l     [A5 - 0x157E], [A7]+
  4903. label00002FDE:
  4904. 00002FDE  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4905. 00002FE2  A873                     syscall    SetPort
  4906. 00002FE4  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4907. 00002FE8  A873                     syscall    SetPort
  4908. 00002FEA  426E FFFE                clr.w      [A6 - 0x2]
  4909. 00002FEE  426E FFFC                clr.w      [A6 - 0x4]
  4910. 00002FF2  486E FFFC                pea.l      [A6 - 0x4]
  4911. 00002FF6  A870                     syscall    LocalToGlobal
  4912. 00002FF8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4913. 00002FFC  2F2D E602                move.l     -[A7], [A5 - 0x19FE]
  4914. 00003000  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4915. 00003004  4EBA E650                jsr        [PC - 0x19B0 /* 00001656 */]
  4916. 00003008  4EAD 02D2                jsr        [A5 + 0x2D2 /* export_86 */]
  4917. fn0000300C:
  4918. 0000300C  2EAD EA82                move.l     [A7], [A5 - 0x157E]
  4919. 00003010  A915                     syscall    ShowWindow
  4920. 00003012  508F                     addq.l     A7, 8
  4921. 00003014  6006                     bra        +0x8 /* 0000301C */
  4922. label00003016:
  4923. 00003016  2F2D EA82                move.l     -[A7], [A5 - 0x157E]
  4924. 0000301A  A91F                     syscall    SelectWindow
  4925. label0000301C:
  4926. 0000301C  4E5E                     unlink     A6
  4927. 0000301E  4E75                     rts
  4928. 00003020  904F                     sub.w      D0, A7
  4929. 00003022  7065                     moveq.l    D0, 0x65
  4930. 00003024  6E5F                     bgt        +0x61 /* 00003085 */
  4931. 00003026  496E 7075                chk.w      D4, [A6 + 0x7075]
  4932. 0000302A  745F                     moveq.l    D2, 0x5F
  4933. 0000302C  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  4934. 00003030  6500 0000                bcs        +0x2 /* 00003032 */
  4935. // begin alternate branch 00003032-00003038
  4936. label00003032:
  4937. 00003032  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4938. fn00003034: // (misaligned)
  4939. 00003036  FFFC                     .invalid   <<F/7/7>>
  4940. // end alternate branch 00003032-00003038
  4941. label00003032: // (misaligned)
  4942. fn00003034:
  4943. 00003034  4E56 FFFC                link       A6, -0x0004
  4944. 00003038  202D EA82                move.l     D0, [A5 - 0x157E]
  4945. 0000303C  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  4946. 00003040  6632                     bne        +0x34 /* 00003074 */
  4947. 00003042  486E FFFC                pea.l      [A6 - 0x4]
  4948. 00003046  A874                     syscall    GetPort
  4949. 00003048  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4950. 0000304C  A873                     syscall    SetPort
  4951. 0000304E  4A2E 000C                tst.b      [A6 + 0xC]
  4952. 00003052  6610                     bne        +0x12 /* 00003064 */
  4953. 00003054  4AAD E624                tst.l      [A5 - 0x19DC]
  4954. 00003058  6706                     beq        +0x8 /* 00003060 */
  4955. 0000305A  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  4956. 0000305E  A9D9                     syscall    TEDeactivate
  4957. label00003060:
  4958. 00003060  42AD E624                clr.l      [A5 - 0x19DC]
  4959. label00003064:
  4960. 00003064  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  4961. 00003068  4EAD 02DA                jsr        [A5 + 0x2DA /* export_87 */]
  4962. 0000306C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4963. 00003070  A873                     syscall    SetPort
  4964. 00003072  548F                     addq.l     A7, 2
  4965. label00003074:
  4966. 00003074  4E5E                     unlink     A6
  4967. 00003076  4E75                     rts
  4968. 00003078  9441                     sub.w      D2, D1
  4969. 0000307A  6374                     bls        +0x76 /* 000030F0 */
  4970. 0000307C  6976                     bvs        +0x78 /* 000030F4 */
  4971. 0000307E  6174                     bsr        +0x76 /* 000030F4 */
  4972. 00003080  655F                     bcs        +0x61 /* 000030E1 */
  4973. 00003082  496E 7075                chk.w      D4, [A6 + 0x7075]
  4974. 00003086  745F                     moveq.l    D2, 0x5F
  4975. 00003088  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  4976. 0000308C  6500 0000                bcs        +0x2 /* 0000308E */
  4977. // begin alternate branch 0000308E-00003094
  4978. label0000308E:
  4979. 0000308E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4980. fn00003090: // (misaligned)
  4981. 00003092  FFF4                     .invalid   <<F/7/7>>
  4982. // end alternate branch 0000308E-00003094
  4983. label0000308E: // (misaligned)
  4984. fn00003090:
  4985. 00003090  4E56 FFF4                link       A6, -0x000C
  4986. 00003094  48E7 0108                movem.l    -[A7], D7,A4
  4987. 00003098  286E 0008                movea.l    A4, [A6 + 0x8]
  4988. 0000309C  4267                     clr.w      -[A7]
  4989. 0000309E  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  4990. 000030A2  486E FFFC                pea.l      [A6 - 0x4]
  4991. 000030A6  A92C                     syscall    FindWindow
  4992. 000030A8  3E1F                     move.w     D7, [A7]+
  4993. 000030AA  202D EA82                move.l     D0, [A5 - 0x157E]
  4994. 000030AE  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  4995. 000030B2  6674                     bne        +0x76 /* 00003128 */
  4996. 000030B4  4267                     clr.w      -[A7]
  4997. 000030B6  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  4998. 000030BA  486E FFFC                pea.l      [A6 - 0x4]
  4999. 000030BE  A92C                     syscall    FindWindow
  5000. 000030C0  3E1F                     move.w     D7, [A7]+
  5001. 000030C2  202D EA82                move.l     D0, [A5 - 0x157E]
  5002. 000030C6  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  5003. 000030CA  6608                     bne        +0xA /* 000030D4 */
  5004. 000030CC  2F0C                     move.l     -[A7], A4
  5005. 000030CE  4EAD 02E2                jsr        [A5 + 0x2E2 /* export_88 */]
  5006. 000030D2  588F                     addq.l     A7, 4
  5007. label000030D4:
  5008. 000030D4  0C54 0001                cmpi.w     [A4], 0x1
  5009. 000030D8  6616                     bne        +0x18 /* 000030F0 */
  5010. 000030DA  202D EA82                move.l     D0, [A5 - 0x157E]
  5011. 000030DE  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  5012. 000030E2  660C                     bne        +0xE /* 000030F0 */
  5013. 000030E4  2D6C 000A FFF8           move.l     [A6 - 0x8], [A4 + 0xA]
  5014. 000030EA  486E FFF8                pea.l      [A6 - 0x8]
  5015. 000030EE  A871                     syscall    GlobalToLocal
  5016. label000030F0:
  5017. 000030F0  202D EA82                move.l     D0, [A5 - 0x157E]
  5018. fn000030F4:
  5019. 000030F4  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  5020. 000030F8  662E                     bne        +0x30 /* 00003128 */
  5021. 000030FA  0C47 0003                cmpi.w     D7, 0x3
  5022. 000030FE  6628                     bne        +0x2A /* 00003128 */
  5023. 00003100  4267                     clr.w      -[A7]
  5024. 00003102  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  5025. 00003106  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5026. 0000310A  486E FFF4                pea.l      [A6 - 0xC]
  5027. 0000310E  A96C                     syscall    FindControl
  5028. 00003110  3E1F                     move.w     D7, [A7]+
  5029. 00003112  4A47                     tst.w      D7
  5030. 00003114  6712                     beq        +0x14 /* 00003128 */
  5031. 00003116  4267                     clr.w      -[A7]
  5032. 00003118  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  5033. 0000311C  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  5034. 00003120  4878 FFFF                push.l     0xFFFF
  5035. 00003124  A968                     syscall    TrackControl
  5036. 00003126  3E1F                     move.w     D7, [A7]+
  5037. label00003128:
  5038. 00003128  4CDF 1080                movem.l    D7,A4, [A7]+
  5039. 0000312C  4E5E                     unlink     A6
  5040. 0000312E  4E75                     rts
  5041. 00003130  8E44                     or.w       D7, D4
  5042. 00003132  6F5F                     ble        +0x61 /* 00003193 */
  5043. 00003134  496E 7075                chk.w      D4, [A6 + 0x7075]
  5044. 00003138  745F                     moveq.l    D2, 0x5F
  5045. 0000313A  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  5046. 0000313E  6500 0000                bcs        +0x2 /* 00003140 */
  5047. // begin alternate branch 00003140-00003146
  5048. label00003140:
  5049. 00003140  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5050. fn00003142: // (misaligned)
  5051. 00003144  FFFC                     .invalid   <<F/7/7>>
  5052. // end alternate branch 00003140-00003146
  5053. label00003140: // (misaligned)
  5054. fn00003142:
  5055. 00003142  4E56 FFFC                link       A6, -0x0004
  5056. 00003146  42A7                     clr.l      -[A7]
  5057. 00003148  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  5058. 0000314C  A95A                     syscall    GetControlReference/GetCRefCon
  5059. 0000314E  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  5060. 00003152  486E 000E                pea.l      [A6 + 0xE]
  5061. 00003156  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  5062. 0000315A  486E FFFC                pea.l      [A6 - 0x4]
  5063. 0000315E  4EAD 035A                jsr        [A5 + 0x35A /* export_103 */]
  5064. 00003162  202E FFFC                move.l     D0, [A6 - 0x4]
  5065. 00003166  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5066. 0000316A  6B2A                     bmi        +0x2C /* 00003196 */
  5067. 0000316C  0480 0000 0257           subi.l     D0, 0x257
  5068. 00003172  6702                     beq        +0x4 /* 00003176 */
  5069. 00003174  6020                     bra        +0x22 /* 00003196 */
  5070. label00003176:
  5071. 00003176  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  5072. 0000317A  2F3C 0001 000A           move.l     -[A7], 0x1000A
  5073. 00003180  2F3C 0001 0064           move.l     -[A7], 0x10064
  5074. 00003186  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  5075. 0000318A  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  5076. 0000318E  4EBA E806                jsr        [PC - 0x17FA /* 00001996 */]
  5077. 00003192  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5078. label00003196:
  5079. 00003196  4E5E                     unlink     A6
  5080. 00003198  4E75                     rts
  5081. 0000319A  8E44                     or.w       D7, D4
  5082. 0000319C  6F5F                     ble        +0x61 /* 000031FD */
  5083. 0000319E  415F                     chk.w      D0, [A7]+
  5084. 000031A0  5363                     subq.w     -[A3], 1
  5085. 000031A2  726F                     moveq.l    D1, 0x6F
  5086. 000031A4  6C6C                     bge        +0x6E /* 00003212 */
  5087. 000031A6  4261                     clr.w      -[A1]
  5088. 000031A8  7200                     moveq.l    D1, 0x00
  5089. 000031AA  0000 42AD                ori.b      D0, 0xAD
  5090. // begin alternate branch 000031AC-000031B0
  5091. fn000031AC:
  5092. 000031AC  42AD EA86                clr.l      [A5 - 0x157A]
  5093. // end alternate branch 000031AC-000031B0
  5094. fn000031AC: // (misaligned)
  5095. 000031AE  EA86                     asr        D6, 5
  5096. 000031B0  42AD EB02                clr.l      [A5 - 0x14FE]
  5097. 000031B4  42AD EB06                clr.l      [A5 - 0x14FA]
  5098. 000031B8  3B7C FFFF EB0A           move.w     [A5 - 0x14F6], 0xFFFF
  5099. 000031BE  3B7C FFFF EB0C           move.w     [A5 - 0x14F4], 0xFFFF
  5100. 000031C4  3B7C FFFF EB0E           move.w     [A5 - 0x14F2], 0xFFFF
  5101. 000031CA  3B7C 0006 E608           move.w     [A5 - 0x19F8], 0x6
  5102. 000031D0  3B7C 0033 E606           move.w     [A5 - 0x19FA], 0x33 /* '3' */
  5103. 000031D6  4EAD 031A                jsr        [A5 + 0x31A /* export_95 */]
  5104. 000031DA  4E75                     rts
  5105. fn000031DC:
  5106. 000031DC  4E56 0000                link       A6, 0
  5107. 000031E0  4AAD EA86                tst.l      [A5 - 0x157A]
  5108. 000031E4  6734                     beq        +0x36 /* 0000321A */
  5109. 000031E6  202D EA86                move.l     D0, [A5 - 0x157A]
  5110. 000031EA  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  5111. 000031EE  6708                     beq        +0xA /* 000031F8 */
  5112. 000031F0  70FF                     moveq.l    D0, 0xFFFFFFFF
  5113. 000031F2  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  5114. 000031F6  6622                     bne        +0x24 /* 0000321A */
  5115. label000031F8:
  5116. 000031F8  4EAD 0322                jsr        [A5 + 0x322 /* export_96 */]
  5117. 000031FC  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5118. 00003200  A873                     syscall    SetPort
  5119. 00003202  426D E608                clr.w      [A5 - 0x19F8]
  5120. 00003206  426D E606                clr.w      [A5 - 0x19FA]
  5121. 0000320A  486D E606                pea.l      [A5 - 0x19FA]
  5122. 0000320E  A870                     syscall    LocalToGlobal
  5123. 00003210  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5124. // begin alternate branch 00003212-00003214
  5125. label00003212:
  5126. 00003212  EA86                     asr        D6, 5
  5127. // end alternate branch 00003212-00003214
  5128. label00003212: // (misaligned)
  5129. 00003214  A914                     syscall    DisposeWindow
  5130. 00003216  42AD EA86                clr.l      [A5 - 0x157A]
  5131. label0000321A:
  5132. 0000321A  4E5E                     unlink     A6
  5133. 0000321C  4E75                     rts
  5134. 0000321E  9543                     subx.w     D2, D3
  5135. 00003220  6C6F                     bge        +0x71 /* 00003291 */
  5136. 00003222  7365                     moveq.l    D1, 0x65
  5137. 00003224  5F4D                     subq.w     A5, 7
  5138. 00003226  6F76                     ble        +0x78 /* 0000329E */
  5139. 00003228  6965                     bvs        +0x67 /* 0000328F */
  5140. 0000322A  5F50                     subq.w     [A0], 7
  5141. 0000322C  6572                     bcs        +0x74 /* 000032A0 */
  5142. 0000322E  666F                     bne        +0x71 /* 0000329F */
  5143. 00003230  726D                     moveq.l    D1, 0x6D
  5144. 00003232  616E                     bsr        +0x70 /* 000032A2 */
  5145. 00003234  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5146. 00003238  FFF2                     .invalid   <<F/7/7>>
  5147. 0000323A  202D EA86                move.l     D0, [A5 - 0x157A]
  5148. 0000323E  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  5149. 00003242  6636                     bne        +0x38 /* 0000327A */
  5150. 00003244  486E FFFC                pea.l      [A6 - 0x4]
  5151. 00003248  A874                     syscall    GetPort
  5152. 0000324A  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5153. 0000324E  A873                     syscall    SetPort
  5154. 00003250  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5155. 00003254  4EAD 032A                jsr        [A5 + 0x32A /* export_97 */]
  5156. 00003258  206D EA86                movea.l    A0, [A5 - 0x157A]
  5157. 0000325C  2D68 0010 FFF4           move.l     [A6 - 0xC], [A0 + 0x10]
  5158. 00003262  2D68 0014 FFF8           move.l     [A6 - 0x8], [A0 + 0x14]
  5159. 00003268  486E FFF4                pea.l      [A6 - 0xC]
  5160. 0000326C  A8A3                     syscall    EraseRect
  5161. 0000326E  486E FFF4                pea.l      [A6 - 0xC]
  5162. 00003272  A928                     syscall    InvalRect
  5163. 00003274  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  5164. 00003278  A873                     syscall    SetPort
  5165. label0000327A:
  5166. 0000327A  4E5E                     unlink     A6
  5167. 0000327C  4E75                     rts
  5168. 0000327E  9752                     sub.w      [A2], D3
  5169. 00003280  6573                     bcs        +0x75 /* 000032F5 */
  5170. 00003282  697A                     bvs        +0x7C /* 000032FE */
  5171. 00003284  6564                     bcs        +0x66 /* 000032EA */
  5172. 00003286  5F4D                     subq.w     A5, 7
  5173. 00003288  6F76                     ble        +0x78 /* 00003300 */
  5174. 0000328A  6965                     bvs        +0x67 /* 000032F1 */
  5175. 0000328C  5F50                     subq.w     [A0], 7
  5176. 0000328E  6572                     bcs        +0x74 /* 00003302 */
  5177. 00003290  666F                     bne        +0x71 /* 00003301 */
  5178. 00003292  726D                     moveq.l    D1, 0x6D
  5179. 00003294  616E                     bsr        +0x70 /* 00003304 */
  5180. 00003296  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5181. // begin alternate branch 00003298-0000329C
  5182. fn00003298:
  5183. 00003298  4E56 FFF2                link       A6, -0x000E
  5184. // end alternate branch 00003298-0000329C
  5185. fn00003298: // (misaligned)
  5186. 0000329A  FFF2                     .invalid   <<F/7/7>>
  5187. 0000329C  202D EA86                move.l     D0, [A5 - 0x157A]
  5188. // begin alternate branch 0000329E-000032A0
  5189. label0000329E:
  5190. 0000329E  EA86                     asr        D6, 5
  5191. // end alternate branch 0000329E-000032A0
  5192. label0000329E: // (misaligned)
  5193. label000032A0:
  5194. 000032A0  B0AE 000C                cmp.l      D0, [A6 + 0xC]
  5195. // begin alternate branch 000032A2-000032A6
  5196. fn000032A2:
  5197. 000032A2  000C 661A                ori.b      A4, 0x1A
  5198. // end alternate branch 000032A2-000032A6
  5199. fn000032A2: // (misaligned)
  5200. 000032A4  661A                     bne        +0x1C /* 000032C0 */
  5201. 000032A6  486E FFFC                pea.l      [A6 - 0x4]
  5202. 000032AA  A874                     syscall    GetPort
  5203. 000032AC  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5204. 000032B0  A873                     syscall    SetPort
  5205. 000032B2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5206. 000032B6  4EAD 0332                jsr        [A5 + 0x332 /* export_98 */]
  5207. 000032BA  2EAE FFFC                move.l     [A7], [A6 - 0x4]
  5208. 000032BE  A873                     syscall    SetPort
  5209. label000032C0:
  5210. 000032C0  4E5E                     unlink     A6
  5211. 000032C2  4E75                     rts
  5212. 000032C4  954D                     subx.w     -[A2], -[A5]
  5213. 000032C6  6F76                     ble        +0x78 /* 0000333E */
  5214. 000032C8  6564                     bcs        +0x66 /* 0000332E */
  5215. 000032CA  5F4D                     subq.w     A5, 7
  5216. 000032CC  6F76                     ble        +0x78 /* 00003344 */
  5217. 000032CE  6965                     bvs        +0x67 /* 00003335 */
  5218. 000032D0  5F50                     subq.w     [A0], 7
  5219. 000032D2  6572                     bcs        +0x74 /* 00003346 */
  5220. 000032D4  666F                     bne        +0x71 /* 00003345 */
  5221. 000032D6  726D                     moveq.l    D1, 0x6D
  5222. 000032D8  616E                     bsr        +0x70 /* 00003348 */
  5223. 000032DA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5224. // begin alternate branch 000032DC-000032E0
  5225. fn000032DC:
  5226. 000032DC  4E56 FFEA                link       A6, -0x0016
  5227. // end alternate branch 000032DC-000032E0
  5228. fn000032DC: // (misaligned)
  5229. 000032DE  FFEA                     .invalid   <<F/7/7>>
  5230. 000032E0  4AAD EA86                tst.l      [A5 - 0x157A]
  5231. 000032E4  6700 014C                beq        +0x14E /* 00003432 */
  5232. 000032E8  202D EA86                move.l     D0, [A5 - 0x157A]
  5233. // begin alternate branch 000032EA-000032EC
  5234. label000032EA:
  5235. 000032EA  EA86                     asr        D6, 5
  5236. // end alternate branch 000032EA-000032EC
  5237. label000032EA: // (misaligned)
  5238. 000032EC  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  5239. 000032F0  6600 0140                bne        +0x142 /* 00003432 */
  5240. 000032F4  486E FFFC                pea.l      [A6 - 0x4]
  5241. 000032F8  A874                     syscall    GetPort
  5242. 000032FA  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5243. label000032FE:
  5244. 000032FE  A873                     syscall    SetPort
  5245. label00003300:
  5246. 00003300  4A2D E730                tst.b      [A5 - 0x18D0]
  5247. // begin alternate branch 00003302-00003304
  5248. label00003302:
  5249. 00003302  E730                     roxl       D0.b, D3
  5250. // end alternate branch 00003302-00003304
  5251. label00003302: // (misaligned)
  5252. fn00003304:
  5253. 00003304  6718                     beq        +0x1A /* 0000331E */
  5254. 00003306  486E FFF6                pea.l      [A6 - 0xA]
  5255. 0000330A  AA19                     syscall    GetForeColor
  5256. 0000330C  486E FFF0                pea.l      [A6 - 0x10]
  5257. 00003310  AA1A                     syscall    GetBackColor
  5258. 00003312  486D E73A                pea.l      [A5 - 0x18C6]
  5259. 00003316  AA14                     syscall    RGBForeColor
  5260. 00003318  486D E740                pea.l      [A5 - 0x18C0]
  5261. 0000331C  AA15                     syscall    RGBBackColor
  5262. label0000331E:
  5263. 0000331E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  5264. 00003322  A88A                     syscall    TextSize
  5265. 00003324  3F3C 0002                move.w     -[A7], 0x2
  5266. 00003328  A887                     syscall    TextFont
  5267. 0000332A  486D E628                pea.l      [A5 - 0x19D8]
  5268. label0000332E:
  5269. 0000332E  2F3C 0014 0091           move.l     -[A7], 0x140091
  5270. 00003334  2F3C 002D 0154           move.l     -[A7], 0x2D0154
  5271. 0000333A  A8A7                     syscall    SetRect
  5272. 0000333C  486D E630                pea.l      [A5 - 0x19D0]
  5273. // begin alternate branch 0000333E-00003340
  5274. label0000333E:
  5275. 0000333E  E630                     roxr       D0.b, D3
  5276. // end alternate branch 0000333E-00003340
  5277. label0000333E: // (misaligned)
  5278. 00003340  2F3C 0001 0226           move.l     -[A7], 0x10226
  5279. // begin alternate branch 00003344-00003348
  5280. label00003344:
  5281. 00003344  0226 4EBA                andi.b     -[A6], 0xBA
  5282. // end alternate branch 00003344-00003348
  5283. label00003344: // (misaligned)
  5284. label00003346:
  5285. 00003346  4EBA D272                jsr        [PC - 0x2D8E /* 000005BA */]
  5286. // begin alternate branch 00003348-0000334E
  5287. fn00003348:
  5288. 00003348  D272 486D                add.w      D1, [A2 + D4 + 0x6D]
  5289. 0000334C  E631                     roxr       D1.b, D3
  5290. // end alternate branch 00003348-0000334E
  5291. fn00003348: // (misaligned)
  5292. 0000334A  486D E631                pea.l      [A5 - 0x19CF]
  5293. 0000334E  7000                     moveq.l    D0, 0x00
  5294. 00003350  102D E630                move.b     D0, [A5 - 0x19D0]
  5295. 00003354  2F00                     move.l     -[A7], D0
  5296. 00003356  486D E628                pea.l      [A5 - 0x19D8]
  5297. 0000335A  4267                     clr.w      -[A7]
  5298. 0000335C  A9CE                     syscall    TETextBox/TextBox
  5299. 0000335E  486D E628                pea.l      [A5 - 0x19D8]
  5300. 00003362  2F3C 0014 0005           move.l     -[A7], 0x140005
  5301. 00003368  2F3C 0023 008C           move.l     -[A7], 0x23008C
  5302. 0000336E  A8A7                     syscall    SetRect
  5303. 00003370  486D E630                pea.l      [A5 - 0x19D0]
  5304. 00003374  2F3C 0001 0252           move.l     -[A7], 0x10252
  5305. 0000337A  4EBA D23E                jsr        [PC - 0x2DC2 /* 000005BA */]
  5306. 0000337E  486D E631                pea.l      [A5 - 0x19CF]
  5307. 00003382  7000                     moveq.l    D0, 0x00
  5308. 00003384  102D E630                move.b     D0, [A5 - 0x19D0]
  5309. 00003388  2F00                     move.l     -[A7], D0
  5310. 0000338A  486D E628                pea.l      [A5 - 0x19D8]
  5311. 0000338E  4267                     clr.w      -[A7]
  5312. 00003390  A9CE                     syscall    TETextBox/TextBox
  5313. 00003392  486D E628                pea.l      [A5 - 0x19D8]
  5314. 00003396  2F3C 0005 0091           move.l     -[A7], 0x50091
  5315. 0000339C  2F3C 0014 0154           move.l     -[A7], 0x140154
  5316. 000033A2  A8A7                     syscall    SetRect
  5317. 000033A4  486D E630                pea.l      [A5 - 0x19D0]
  5318. 000033A8  2F3C 0001 0251           move.l     -[A7], 0x10251
  5319. 000033AE  4EBA D20A                jsr        [PC - 0x2DF6 /* 000005BA */]
  5320. 000033B2  486D E631                pea.l      [A5 - 0x19CF]
  5321. 000033B6  7000                     moveq.l    D0, 0x00
  5322. 000033B8  102D E630                move.b     D0, [A5 - 0x19D0]
  5323. 000033BC  2F00                     move.l     -[A7], D0
  5324. 000033BE  486D E628                pea.l      [A5 - 0x19D8]
  5325. 000033C2  4267                     clr.w      -[A7]
  5326. 000033C4  A9CE                     syscall    TETextBox/TextBox
  5327. 000033C6  486D E628                pea.l      [A5 - 0x19D8]
  5328. 000033CA  2F3C 0005 0005           move.l     -[A7], 0x50005
  5329. 000033D0  2F3C 0014 0069           move.l     -[A7], 0x140069
  5330. 000033D6  A8A7                     syscall    SetRect
  5331. 000033D8  486D E630                pea.l      [A5 - 0x19D0]
  5332. 000033DC  2F3C 0001 0250           move.l     -[A7], 0x10250
  5333. 000033E2  4EBA D1D6                jsr        [PC - 0x2E2A /* 000005BA */]
  5334. 000033E6  486D E631                pea.l      [A5 - 0x19CF]
  5335. 000033EA  7000                     moveq.l    D0, 0x00
  5336. 000033EC  102D E630                move.b     D0, [A5 - 0x19D0]
  5337. 000033F0  2F00                     move.l     -[A7], D0
  5338. 000033F2  486D E628                pea.l      [A5 - 0x19D8]
  5339. 000033F6  4267                     clr.w      -[A7]
  5340. 000033F8  A9CE                     syscall    TETextBox/TextBox
  5341. 000033FA  2F3C 0037 0005           move.l     -[A7], 0x370005
  5342. 00003400  A893                     syscall    MoveTo
  5343. 00003402  2F3C 0037 01E4           move.l     -[A7], 0x3701E4
  5344. 00003408  A891                     syscall    LineTo
  5345. 0000340A  4A2D E730                tst.b      [A5 - 0x18D0]
  5346. 0000340E  670C                     beq        +0xE /* 0000341C */
  5347. 00003410  486E FFF6                pea.l      [A6 - 0xA]
  5348. 00003414  AA14                     syscall    RGBForeColor
  5349. 00003416  486E FFF0                pea.l      [A6 - 0x10]
  5350. 0000341A  AA15                     syscall    RGBBackColor
  5351. label0000341C:
  5352. 0000341C  3F3C 000C                move.w     -[A7], 0xC
  5353. 00003420  A88A                     syscall    TextSize
  5354. 00003422  3F3C 0001                move.w     -[A7], 0x1
  5355. 00003426  A887                     syscall    TextFont
  5356. 00003428  4EAD 033A                jsr        [A5 + 0x33A /* export_99 */]
  5357. 0000342C  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5358. 00003430  A873                     syscall    SetPort
  5359. label00003432:
  5360. 00003432  4E5E                     unlink     A6
  5361. 00003434  4E75                     rts
  5362. 00003436  9655                     sub.w      D3, [A5]
  5363. 00003438  7064                     moveq.l    D0, 0x64
  5364. 0000343A  6174                     bsr        +0x76 /* 000034B0 */
  5365. 0000343C  655F                     bcs        +0x61 /* 0000349D */
  5366. 0000343E  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  5367. 00003442  655F                     bcs        +0x61 /* 000034A3 */
  5368. 00003444  5065                     addq.w     -[A5], 8
  5369. 00003446  7266                     moveq.l    D1, 0x66
  5370. 00003448  6F72                     ble        +0x74 /* 000034BC */
  5371. 0000344A  6D61                     blt        +0x63 /* 000034AD */
  5372. 0000344C  6E00 0000                bgt        +0x2 /* 0000344E */
  5373. // begin alternate branch 0000344E-00003454
  5374. label0000344E:
  5375. 0000344E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5376. fn00003450: // (misaligned)
  5377. 00003452  FFF8                     .invalid   <<F/7/7>>
  5378. // end alternate branch 0000344E-00003454
  5379. label0000344E: // (misaligned)
  5380. fn00003450:
  5381. 00003450  4E56 FFF8                link       A6, -0x0008
  5382. 00003454  2F07                     move.l     -[A7], D7
  5383. 00003456  4AAD EA86                tst.l      [A5 - 0x157A]
  5384. 0000345A  6600 00E2                bne        +0xE4 /* 0000353E */
  5385. 0000345E  4A2D E730                tst.b      [A5 - 0x18D0]
  5386. 00003462  6714                     beq        +0x16 /* 00003478 */
  5387. 00003464  42A7                     clr.l      -[A7]
  5388. 00003466  3F3C 0105                move.w     -[A7], 0x105
  5389. 0000346A  42A7                     clr.l      -[A7]
  5390. 0000346C  4878 FFFF                push.l     0xFFFF
  5391. 00003470  AA46                     syscall    GetNewCWindow
  5392. 00003472  2B5F EA86                move.l     [A5 - 0x157A], [A7]+
  5393. 00003476  6012                     bra        +0x14 /* 0000348A */
  5394. label00003478:
  5395. 00003478  42A7                     clr.l      -[A7]
  5396. 0000347A  3F3C 0105                move.w     -[A7], 0x105
  5397. 0000347E  42A7                     clr.l      -[A7]
  5398. 00003480  4878 FFFF                push.l     0xFFFF
  5399. 00003484  A9BD                     syscall    GetNewWindow
  5400. 00003486  2B5F EA86                move.l     [A5 - 0x157A], [A7]+
  5401. label0000348A:
  5402. 0000348A  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5403. 0000348E  A873                     syscall    SetPort
  5404. 00003490  42A7                     clr.l      -[A7]
  5405. 00003492  3F3C 0254                move.w     -[A7], 0x254
  5406. 00003496  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5407. 0000349A  A9BE                     syscall    GetNewControl
  5408. 0000349C  2B5F EA8A                move.l     [A5 - 0x1576], [A7]+
  5409. 000034A0  42A7                     clr.l      -[A7]
  5410. 000034A2  3F3C 0253                move.w     -[A7], 0x253
  5411. 000034A6  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5412. 000034AA  A9BE                     syscall    GetNewControl
  5413. 000034AC  2B5F EA8E                move.l     [A5 - 0x1572], [A7]+
  5414. fn000034B0:
  5415. 000034B0  42A7                     clr.l      -[A7]
  5416. 000034B2  3F3C 0256                move.w     -[A7], 0x256
  5417. 000034B6  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5418. 000034BA  A9BE                     syscall    GetNewControl
  5419. label000034BC:
  5420. 000034BC  2B5F EA96                move.l     [A5 - 0x156A], [A7]+
  5421. 000034C0  2F2D EA96                move.l     -[A7], [A5 - 0x156A]
  5422. 000034C4  A958                     syscall    HideControl
  5423. 000034C6  7E00                     moveq.l    D7, 0x00
  5424. 000034C8  0687 0000 0100           addi.l     D7, 0x100
  5425. 000034CE  5287                     addq.l     D7, 1
  5426. 000034D0  206D EA96                movea.l    A0, [A5 - 0x156A]
  5427. 000034D4  2050                     movea.l    A0, [A0]
  5428. 000034D6  2147 001C                move.l     [A0 + 0x1C], D7
  5429. 000034DA  206D EA96                movea.l    A0, [A5 - 0x156A]
  5430. 000034DE  2050                     movea.l    A0, [A0]
  5431. 000034E0  2B68 0008 EA9A           move.l     [A5 - 0x1566], [A0 + 0x8]
  5432. 000034E6  2B68 000C EA9E           move.l     [A5 - 0x1562], [A0 + 0xC]
  5433. 000034EC  2F2D EA96                move.l     -[A7], [A5 - 0x156A]
  5434. 000034F0  A957                     syscall    ShowControl
  5435. 000034F2  42A7                     clr.l      -[A7]
  5436. 000034F4  3F3C 0257                move.w     -[A7], 0x257
  5437. 000034F8  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5438. 000034FC  A9BE                     syscall    GetNewControl
  5439. 000034FE  2B5F EA92                move.l     [A5 - 0x156E], [A7]+
  5440. 00003502  2F2D EA92                move.l     -[A7], [A5 - 0x156E]
  5441. 00003506  3F3C 0001                move.w     -[A7], 0x1
  5442. 0000350A  A963                     syscall    SetControlValue/SetCtlValue
  5443. 0000350C  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5444. 00003510  A873                     syscall    SetPort
  5445. 00003512  426E FFFE                clr.w      [A6 - 0x2]
  5446. 00003516  426E FFFC                clr.w      [A6 - 0x4]
  5447. 0000351A  486E FFFC                pea.l      [A6 - 0x4]
  5448. 0000351E  A870                     syscall    LocalToGlobal
  5449. 00003520  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5450. 00003524  2F2D E606                move.l     -[A7], [A5 - 0x19FA]
  5451. 00003528  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5452. 0000352C  4EBA E128                jsr        [PC - 0x1ED8 /* 00001656 */]
  5453. 00003530  4EAD 0342                jsr        [A5 + 0x342 /* export_100 */]
  5454. 00003534  2EAD EA86                move.l     [A7], [A5 - 0x157A]
  5455. 00003538  A915                     syscall    ShowWindow
  5456. 0000353A  508F                     addq.l     A7, 8
  5457. 0000353C  6006                     bra        +0x8 /* 00003544 */
  5458. label0000353E:
  5459. 0000353E  2F2D EA86                move.l     -[A7], [A5 - 0x157A]
  5460. 00003542  A91F                     syscall    SelectWindow
  5461. label00003544:
  5462. 00003544  2E1F                     move.l     D7, [A7]+
  5463. 00003546  4E5E                     unlink     A6
  5464. 00003548  4E75                     rts
  5465. 0000354A  944F                     sub.w      D2, A7
  5466. 0000354C  7065                     moveq.l    D0, 0x65
  5467. 0000354E  6E5F                     bgt        +0x61 /* 000035AF */
  5468. 00003550  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  5469. 00003554  655F                     bcs        +0x61 /* 000035B5 */
  5470. 00003556  5065                     addq.w     -[A5], 8
  5471. 00003558  7266                     moveq.l    D1, 0x66
  5472. 0000355A  6F72                     ble        +0x74 /* 000035CE */
  5473. 0000355C  6D61                     blt        +0x63 /* 000035BF */
  5474. 0000355E  6E00 0000                bgt        +0x2 /* 00003560 */
  5475. // begin alternate branch 00003560-00003566
  5476. label00003560:
  5477. 00003560  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5478. fn00003562: // (misaligned)
  5479. 00003564  FFFC                     .invalid   <<F/7/7>>
  5480. // end alternate branch 00003560-00003566
  5481. label00003560: // (misaligned)
  5482. fn00003562:
  5483. 00003562  4E56 FFFC                link       A6, -0x0004
  5484. 00003566  202D EA86                move.l     D0, [A5 - 0x157A]
  5485. 0000356A  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  5486. 0000356E  6632                     bne        +0x34 /* 000035A2 */
  5487. 00003570  486E FFFC                pea.l      [A6 - 0x4]
  5488. 00003574  A874                     syscall    GetPort
  5489. 00003576  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5490. 0000357A  A873                     syscall    SetPort
  5491. 0000357C  4A2E 000C                tst.b      [A6 + 0xC]
  5492. 00003580  6610                     bne        +0x12 /* 00003592 */
  5493. 00003582  4AAD E624                tst.l      [A5 - 0x19DC]
  5494. 00003586  6706                     beq        +0x8 /* 0000358E */
  5495. 00003588  2F2D E624                move.l     -[A7], [A5 - 0x19DC]
  5496. 0000358C  A9D9                     syscall    TEDeactivate
  5497. label0000358E:
  5498. 0000358E  42AD E624                clr.l      [A5 - 0x19DC]
  5499. label00003592:
  5500. 00003592  1F2E 000C                move.b     -[A7], [A6 + 0xC]
  5501. 00003596  4EAD 034A                jsr        [A5 + 0x34A /* export_101 */]
  5502. 0000359A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5503. 0000359E  A873                     syscall    SetPort
  5504. 000035A0  548F                     addq.l     A7, 2
  5505. label000035A2:
  5506. 000035A2  4E5E                     unlink     A6
  5507. 000035A4  4E75                     rts
  5508. 000035A6  9841                     sub.w      D4, D1
  5509. 000035A8  6374                     bls        +0x76 /* 0000361E */
  5510. 000035AA  6976                     bvs        +0x78 /* 00003622 */
  5511. 000035AC  6174                     bsr        +0x76 /* 00003622 */
  5512. 000035AE  655F                     bcs        +0x61 /* 0000360F */
  5513. 000035B0  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  5514. 000035B4  655F                     bcs        +0x61 /* 00003615 */
  5515. 000035B6  5065                     addq.w     -[A5], 8
  5516. 000035B8  7266                     moveq.l    D1, 0x66
  5517. 000035BA  6F72                     ble        +0x74 /* 0000362E */
  5518. 000035BC  6D61                     blt        +0x63 /* 0000361F */
  5519. 000035BE  6E00 0000                bgt        +0x2 /* 000035C0 */
  5520. // begin alternate branch 000035C0-000035C6
  5521. label000035C0:
  5522. 000035C0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5523. fn000035C2: // (misaligned)
  5524. 000035C4  FFFE                     .invalid   <<F/7/7>>
  5525. // end alternate branch 000035C0-000035C6
  5526. label000035C0: // (misaligned)
  5527. fn000035C2:
  5528. 000035C2  4E56 FFFE                link       A6, -0x0002
  5529. 000035C6  48E7 0108                movem.l    -[A7], D7,A4
  5530. 000035CA  286E 0008                movea.l    A4, [A6 + 0x8]
  5531. label000035CE:
  5532. 000035CE  2F0C                     move.l     -[A7], A4
  5533. 000035D0  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  5534. 000035D4  A95D                     syscall    HiliteControl
  5535. 000035D6  426E FFFE                clr.w      [A6 - 0x2]
  5536. 000035DA  42A7                     clr.l      -[A7]
  5537. 000035DC  2F0C                     move.l     -[A7], A4
  5538. 000035DE  A95A                     syscall    GetControlReference/GetCRefCon
  5539. 000035E0  2E1F                     move.l     D7, [A7]+
  5540. 000035E2  2007                     move.l     D0, D7
  5541. 000035E4  6B0C                     bmi        +0xE /* 000035F2 */
  5542. 000035E6  0480 0000 0254           subi.l     D0, 0x254
  5543. 000035EC  6704                     beq        +0x6 /* 000035F2 */
  5544. 000035EE  6A02                     bpl        +0x4 /* 000035F2 */
  5545. 000035F0  5280                     addq.l     D0, 1
  5546. label000035F2:
  5547. 000035F2  486E FFFE                pea.l      [A6 - 0x2]
  5548. 000035F6  2F0C                     move.l     -[A7], A4
  5549. 000035F8  2F07                     move.l     -[A7], D7
  5550. 000035FA  4EAD 0352                jsr        [A5 + 0x352 /* export_102 */]
  5551. 000035FE  2E8C                     move.l     [A7], A4
  5552. 00003600  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  5553. 00003604  A95D                     syscall    HiliteControl
  5554. 00003606  4CEE 1080 FFF6           movem.l    D7,A4, [A6 - 0xA]
  5555. 0000360C  4E5E                     unlink     A6
  5556. 0000360E  4E75                     rts
  5557. 00003610  8B44 6F5F                pack       D5, D4, 0x6F5F
  5558. 00003614  415F                     chk.w      D0, [A7]+
  5559. 00003616  4275 7474                clr.w      [A5 + D7.w * 4 + 0x74]
  5560. 0000361A  6F6E                     ble        +0x70 /* 0000368A */
  5561. 0000361C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  5562. // begin alternate branch 0000361E-00003622
  5563. fn0000361E:
  5564. 0000361E  4E56 FFF4                link       A6, -0x000C
  5565. // end alternate branch 0000361E-00003622
  5566. fn0000361E: // (misaligned)
  5567. 00003620  FFF4                     .invalid   <<F/7/7>>
  5568. fn00003622:
  5569. 00003622  48E7 0108                movem.l    -[A7], D7,A4
  5570. 00003626  286E 0008                movea.l    A4, [A6 + 0x8]
  5571. 0000362A  4267                     clr.w      -[A7]
  5572. 0000362C  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  5573. // begin alternate branch 0000362E-00003634
  5574. label0000362E:
  5575. 0000362E  000A 486E                ori.b      A2, 0x6E /* 'n' */
  5576. 00003632  FFFC                     .invalid   <<F/7/7>>
  5577. // end alternate branch 0000362E-00003634
  5578. label0000362E: // (misaligned)
  5579. 00003630  486E FFFC                pea.l      [A6 - 0x4]
  5580. 00003634  A92C                     syscall    FindWindow
  5581. 00003636  3E1F                     move.w     D7, [A7]+
  5582. 00003638  202D EA86                move.l     D0, [A5 - 0x157A]
  5583. 0000363C  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  5584. 00003640  6600 00B8                bne        +0xBA /* 000036FA */
  5585. 00003644  4267                     clr.w      -[A7]
  5586. 00003646  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  5587. 0000364A  486E FFFC                pea.l      [A6 - 0x4]
  5588. 0000364E  A92C                     syscall    FindWindow
  5589. 00003650  3E1F                     move.w     D7, [A7]+
  5590. 00003652  202D EA86                move.l     D0, [A5 - 0x157A]
  5591. 00003656  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  5592. 0000365A  6608                     bne        +0xA /* 00003664 */
  5593. 0000365C  2F0C                     move.l     -[A7], A4
  5594. 0000365E  4EAD 0362                jsr        [A5 + 0x362 /* export_104 */]
  5595. 00003662  588F                     addq.l     A7, 4
  5596. label00003664:
  5597. 00003664  0C54 0001                cmpi.w     [A4], 0x1
  5598. 00003668  6616                     bne        +0x18 /* 00003680 */
  5599. 0000366A  202D EA86                move.l     D0, [A5 - 0x157A]
  5600. 0000366E  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  5601. 00003672  660C                     bne        +0xE /* 00003680 */
  5602. 00003674  2D6C 000A FFF8           move.l     [A6 - 0x8], [A4 + 0xA]
  5603. 0000367A  486E FFF8                pea.l      [A6 - 0x8]
  5604. 0000367E  A871                     syscall    GlobalToLocal
  5605. label00003680:
  5606. 00003680  202D EA86                move.l     D0, [A5 - 0x157A]
  5607. 00003684  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  5608. 00003688  6670                     bne        +0x72 /* 000036FA */
  5609. label0000368A:
  5610. 0000368A  0C47 0003                cmpi.w     D7, 0x3
  5611. 0000368E  666A                     bne        +0x6C /* 000036FA */
  5612. 00003690  4267                     clr.w      -[A7]
  5613. 00003692  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  5614. 00003696  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5615. 0000369A  486E FFF4                pea.l      [A6 - 0xC]
  5616. 0000369E  A96C                     syscall    FindControl
  5617. 000036A0  3E1F                     move.w     D7, [A7]+
  5618. 000036A2  0C47 0014                cmpi.w     D7, 0x14
  5619. 000036A6  6718                     beq        +0x1A /* 000036C0 */
  5620. 000036A8  0C47 0015                cmpi.w     D7, 0x15
  5621. 000036AC  6712                     beq        +0x14 /* 000036C0 */
  5622. 000036AE  0C47 0081                cmpi.w     D7, 0x81
  5623. 000036B2  670C                     beq        +0xE /* 000036C0 */
  5624. 000036B4  0C47 0017                cmpi.w     D7, 0x17
  5625. 000036B8  6706                     beq        +0x8 /* 000036C0 */
  5626. 000036BA  0C47 0016                cmpi.w     D7, 0x16
  5627. 000036BE  6614                     bne        +0x16 /* 000036D4 */
  5628. label000036C0:
  5629. 000036C0  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  5630. 000036C4  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  5631. 000036C8  3F07                     move.w     -[A7], D7
  5632. 000036CA  4EBA FA76                jsr        [PC - 0x58A /* 00003142 */]
  5633. 000036CE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5634. 000036D2  6016                     bra        +0x18 /* 000036EA */
  5635. label000036D4:
  5636. 000036D4  4A47                     tst.w      D7
  5637. 000036D6  6712                     beq        +0x14 /* 000036EA */
  5638. 000036D8  4267                     clr.w      -[A7]
  5639. 000036DA  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  5640. 000036DE  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  5641. 000036E2  4878 FFFF                push.l     0xFFFF
  5642. 000036E6  A968                     syscall    TrackControl
  5643. 000036E8  3E1F                     move.w     D7, [A7]+
  5644. label000036EA:
  5645. 000036EA  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  5646. 000036EE  660A                     bne        +0xC /* 000036FA */
  5647. 000036F0  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  5648. 000036F4  4EBA FECC                jsr        [PC - 0x134 /* 000035C2 */]
  5649. 000036F8  588F                     addq.l     A7, 4
  5650. label000036FA:
  5651. 000036FA  4CDF 1080                movem.l    D7,A4, [A7]+
  5652. 000036FE  4E5E                     unlink     A6
  5653. 00003700  4E75                     rts
  5654. 00003702  9244                     sub.w      D1, D4
  5655. 00003704  6F5F                     ble        +0x61 /* 00003765 */
  5656. 00003706  4D6F 7669                chk.w      D6, [A7 + 0x7669]
  5657. 0000370A  655F                     bcs        +0x61 /* 0000376B */
  5658. 0000370C  5065                     addq.w     -[A5], 8
  5659. 0000370E  7266                     moveq.l    D1, 0x66
  5660. 00003710  6F72                     ble        +0x74 /* 00003784 */
  5661. 00003712  6D61                     blt        +0x63 /* 00003775 */
  5662. 00003714  6E00 0000                bgt        +0x2 /* 00003716 */
  5663.